diff -r 08ec8eefde2f -r c084286672be persistentstorage/centralrepository/cenrepsrv/srvrepos_noc.cpp --- a/persistentstorage/centralrepository/cenrepsrv/srvrepos_noc.cpp Fri Jan 22 11:06:30 2010 +0200 +++ b/persistentstorage/centralrepository/cenrepsrv/srvrepos_noc.cpp Tue Jan 26 13:16:24 2010 +0200 @@ -49,10 +49,12 @@ if (index>=0) { iRepository = TServerResources::iObserver->GetOpenRepository(index); - // cancel to ensure any read/write locks are released and transaction settings cleaned up - CancelTransaction(); } - + // cancel to ensure any read/write locks are released and transaction settings cleaned up + + CancelTransaction(); + + TServerResources::iObserver->RemoveObserver(iUid, this, index); iNotifier = NULL;