diff options
Diffstat (limited to 'Swift/Controllers')
-rw-r--r-- | Swift/Controllers/MainController.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Swift/Controllers/MainController.cpp b/Swift/Controllers/MainController.cpp index 581ff31..1b0b595 100644 --- a/Swift/Controllers/MainController.cpp +++ b/Swift/Controllers/MainController.cpp @@ -230,10 +230,10 @@ void MainController::resetClient() { delete chatsManager_; chatsManager_ = NULL; #ifdef SWIFT_EXPERIMENTAL_HISTORY - delete historyController_; - historyController_ = NULL; delete historyViewController_; historyViewController_ = NULL; + delete historyController_; + historyController_ = NULL; #endif delete ftOverview_; ftOverview_ = NULL; |