Fixes: NB#168249 - mutexing access to event loop, signalling quit and wait until...
authorastojilj <aleksandar.stojiljkovic@nokia.com>
Thu, 20 May 2010 21:55:43 +0000 (00:55 +0300)
committerastojilj <aleksandar.stojiljkovic@nokia.com>
Thu, 20 May 2010 21:55:43 +0000 (00:55 +0300)
commit7a05b4f3927a75332830eeb95d005e68e423846d
tree903a426c18e0b79ac8b6081768b5ab01afd4d731
parente31e82319f46cffee81657755ada2b9ed0aea05b
Fixes: NB#168249 - mutexing access to event loop, signalling quit and wait until thread finishes

- Unit tests for early delete.
- protecting access to mEventLoop with Mutex
- destructor signals that quit() is needed and lock on mutex (until event loop and thread stops)
src/engine/contactfetchrequest.cpp
src/engine/contactfetchrequest.h
src/engine/engine.cpp
tests/ut_qtcontacts_trackerplugin/ut_qtcontacts_trackerplugin.cpp