Fixes: NB#222553 - [CRASH] deleting QContactManager before a request finishes crashes qct
authorJens Georg <jensg@openismus.com>
Wed, 16 Feb 2011 11:44:52 +0000 (12:44 +0100)
committerJens Georg <jensg@openismus.com>
Wed, 16 Feb 2011 12:52:42 +0000 (13:52 +0100)
commit830861761464c451ebb2a6813cc415dcad8acf66
tree5b142f00a5d995438045b97ee071619d8659a98c
parent1785afac3c82796d0c644869978278fdb61d3b38
Fixes: NB#222553 - [CRASH] deleting QContactManager before a request finishes crashes qct

RevBy: TrustMe
Details: Remove requests belonging to the engine when the engine goes down

Code taken and adapted from the upcoming sync QSparql work branch
src/engine/abstractrequest.h
src/engine/engine.cpp
src/engine/engine_p.h