equal
deleted
inserted
replaced
47 TInt index = TServerResources::iObserver->FindOpenRepository(iUid); |
47 TInt index = TServerResources::iObserver->FindOpenRepository(iUid); |
48 |
48 |
49 if (index>=0) |
49 if (index>=0) |
50 { |
50 { |
51 iRepository = TServerResources::iObserver->GetOpenRepository(index); |
51 iRepository = TServerResources::iObserver->GetOpenRepository(index); |
52 // cancel to ensure any read/write locks are released and transaction settings cleaned up |
52 } |
53 CancelTransaction(); |
53 // cancel to ensure any read/write locks are released and transaction settings cleaned up |
54 } |
54 |
55 |
55 CancelTransaction(); |
|
56 |
|
57 |
56 TServerResources::iObserver->RemoveObserver(iUid, this, index); |
58 TServerResources::iObserver->RemoveObserver(iUid, this, index); |
57 |
59 |
58 iNotifier = NULL; |
60 iNotifier = NULL; |
59 } |
61 } |
60 |
62 |