summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2015-11-25 13:50:23 (GMT)
committerSwift Review <review@swift.im>2015-11-28 08:38:05 (GMT)
commitd5f073592e1d2ea5f57e12d5c2ddcae57c05f96f (patch)
tree3c2bcff6b00ce3538e669387c64eabf88850bada /Swift/Controllers
parent2af5c61de3fa58b3fb1f4e0287ad607e60b61397 (diff)
downloadswift-d5f073592e1d2ea5f57e12d5c2ddcae57c05f96f.zip
swift-d5f073592e1d2ea5f57e12d5c2ddcae57c05f96f.tar.bz2
Close 'Edit Profile'-dialog on sign out
Test-Information: Tested going offline and signing out on OS X 10.10.5. Change-Id: I307c318e8b22a62473df142e94d6895490ea2e2d
Diffstat (limited to 'Swift/Controllers')
-rw-r--r--Swift/Controllers/ProfileController.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swift/Controllers/ProfileController.cpp b/Swift/Controllers/ProfileController.cpp
index 7df8036..49818b0 100644
--- a/Swift/Controllers/ProfileController.cpp
+++ b/Swift/Controllers/ProfileController.cpp
@@ -28,6 +28,7 @@ ProfileController::~ProfileController() {
profileWindow->onWindowAboutToBeClosed.disconnect(boost::bind(&ProfileController::handleProfileWindowAboutToBeClosed, this, _1));
}
uiEventStream->onUIEvent.disconnect(boost::bind(&ProfileController::handleUIEvent, this, _1));
+ delete profileWindow;
}
void ProfileController::handleUIEvent(UIEvent::ref event) {