diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-12-27 09:53:08 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-12-27 09:53:08 (GMT) |
commit | fb05907ebc4cfa39fa702ef4b81b668fc1bba8b7 (patch) | |
tree | 66c0b5768b62067d9ffda9993bbcc753e9ec4c15 | |
parent | 7840105a9828127720a67e7a636e09169b362bce (diff) | |
download | swift-contrib-fb05907ebc4cfa39fa702ef4b81b668fc1bba8b7.zip swift-contrib-fb05907ebc4cfa39fa702ef4b81b668fc1bba8b7.tar.bz2 |
Fixed destruction order in MainController which was causing a crash.
-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 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() { |