summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-12-27 09:53:08 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-12-27 09:53:08 (GMT)
commitfb05907ebc4cfa39fa702ef4b81b668fc1bba8b7 (patch)
tree66c0b5768b62067d9ffda9993bbcc753e9ec4c15
parent7840105a9828127720a67e7a636e09169b362bce (diff)
downloadswift-contrib-fb05907ebc4cfa39fa702ef4b81b668fc1bba8b7.zip
swift-contrib-fb05907ebc4cfa39fa702ef4b81b668fc1bba8b7.tar.bz2
Fixed destruction order in MainController which was causing a crash.
-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 ba8d944..84c92b4 100644
--- a/Swift/Controllers/MainController.cpp
+++ b/Swift/Controllers/MainController.cpp
@@ -160,10 +160,10 @@ MainController::~MainController() {
delete systemTrayController_;
delete soundEventController_;
delete xmlConsoleController_;
- delete uiEventStream_;
resetClient();
delete eventController_;
delete notifier_;
+ delete uiEventStream_;
}
void MainController::resetClient() {