← Back to team overview

zorba-coders team mailing list archive

[Merge] lp:~zorba-coders/zorba/store-shutdown-set-numusers-zero into lp:zorba

 

Ghislain Fourny has proposed merging lp:~zorba-coders/zorba/store-shutdown-set-numusers-zero into lp:zorba.

Requested reviews:
  Till Westmann (tillw)
  Matthias Brantner (matthias-brantner)

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/store-shutdown-set-numusers-zero/+merge/98409

Setting number of users to zero also in case of forced shutdown.
-- 
https://code.launchpad.net/~zorba-coders/zorba/store-shutdown-set-numusers-zero/+merge/98409
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'src/store/naive/simple_store.cpp'
--- src/store/naive/simple_store.cpp	2012-03-14 15:28:15 +0000
+++ src/store/naive/simple_store.cpp	2012-03-20 13:39:19 +0000
@@ -376,7 +376,9 @@
     // LIBXML_TEST_VERSION if he wants to use libxml2
     // beyond the lifecycle of zorba
     xmlCleanupParser();
-
+    
+    theNumUsers = 0;
+    
     StoreManagerImpl::theStore = NULL;
   }
 }


Follow ups