From fb05907ebc4cfa39fa702ef4b81b668fc1bba8b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be> Date: Mon, 27 Dec 2010 10:53:08 +0100 Subject: Fixed destruction order in MainController which was causing a crash. 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() { -- cgit v0.10.2-6-g49f6