summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-12-27 20:09:56 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-12-27 20:09:56 (GMT)
commit2437e403c850c9592fe0fd286398b76d2b27a1b6 (patch)
tree331acd5386e021911932eded9c0928f95f5419c7 /Swift/Controllers/MainController.h
parent0811be1b9948bfc9fcce46586ad20c1ac1a619ad (diff)
downloadswift-2437e403c850c9592fe0fd286398b76d2b27a1b6.zip
swift-2437e403c850c9592fe0fd286398b76d2b27a1b6.tar.bz2
Don't delete client in a callback.
Diffstat (limited to 'Swift/Controllers/MainController.h')
-rw-r--r--Swift/Controllers/MainController.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Swift/Controllers/MainController.h b/Swift/Controllers/MainController.h
index f6a269d..b74b1ee 100644
--- a/Swift/Controllers/MainController.h
+++ b/Swift/Controllers/MainController.h
@@ -115,7 +115,8 @@ namespace Swift {
CertificateStorageFactory* certificateStorageFactory_;
CertificateStorage* certificateStorage_;
CertificateStorageTrustChecker* certificateTrustChecker_;
- Client* client_;
+ bool clientInitialized_;
+ boost::shared_ptr<Client> client_;
SettingsProvider *settings_;
ProfileSettingsProvider* profileSettings_;
Dock* dock_;