diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-09-15 20:13:43 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-09-15 20:13:43 (GMT) |
commit | 03989fd78c6c73989941abb91dc4d51f4c8fee1a (patch) | |
tree | 470b456bd075daf196c30784936aa071ecad447e | |
parent | d0367c8477ad2e9993ed5ea6acb2444f21f8f971 (diff) | |
download | swift-contrib-03989fd78c6c73989941abb91dc4d51f4c8fee1a.zip swift-contrib-03989fd78c6c73989941abb91dc4d51f4c8fee1a.tar.bz2 |
Fixed EventController destruction order.
-rw-r--r-- | Swift/Controllers/MainController.cpp | 2 |
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; } |