summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-09-15 20:13:43 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-09-15 20:13:43 (GMT)
commit03989fd78c6c73989941abb91dc4d51f4c8fee1a (patch)
tree470b456bd075daf196c30784936aa071ecad447e /Swift/Controllers
parentd0367c8477ad2e9993ed5ea6acb2444f21f8f971 (diff)
downloadswift-contrib-03989fd78c6c73989941abb91dc4d51f4c8fee1a.zip
swift-contrib-03989fd78c6c73989941abb91dc4d51f4c8fee1a.tar.bz2
Fixed EventController destruction order.
Diffstat (limited to 'Swift/Controllers')
-rw-r--r--Swift/Controllers/MainController.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/Controllers/MainController.cpp b/Swift/Controllers/MainController.cpp
index 11001b3..aab7cff 100644
--- a/Swift/Controllers/MainController.cpp
+++ b/Swift/Controllers/MainController.cpp
@@ -174,8 +174,8 @@ MainController::~MainController() {
delete soundEventController_;
delete xmlConsoleController_;
delete uiEventStream_;
- delete eventController_;
resetClient();
+ delete eventController_;
for(VCardStorageMap::iterator i = vcardStorages_.begin(); i != vcardStorages_.end(); ++i) {
delete i->second;
}