equal
deleted
inserted
replaced
124 TIpcArgs ipcArgs( observer->iObserverInfo.iObserverId, |
124 TIpcArgs ipcArgs( observer->iObserverInfo.iObserverId, |
125 iHarvesterEventQueue.Handle() ); |
125 iHarvesterEventQueue.Handle() ); |
126 iHarvesterClient.Send( EUnregisterHarvesterEvent, ipcArgs ); |
126 iHarvesterClient.Send( EUnregisterHarvesterEvent, ipcArgs ); |
127 iObservers.Remove( i ); |
127 iObservers.Remove( i ); |
128 delete observer; |
128 delete observer; |
|
129 observer = NULL; |
129 } |
130 } |
130 } |
131 } |
131 |
132 |
132 // close event queue if all observers are removed |
133 // close event queue if all observers are removed |
133 if( iObservers.Count() == 0 ) |
134 if( iObservers.Count() == 0 ) |