diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-12-27 20:09:56 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-12-27 20:09:56 (GMT) |
commit | 2437e403c850c9592fe0fd286398b76d2b27a1b6 (patch) | |
tree | 331acd5386e021911932eded9c0928f95f5419c7 /Swift/Controllers/MainController.h | |
parent | 0811be1b9948bfc9fcce46586ad20c1ac1a619ad (diff) | |
download | swift-contrib-2437e403c850c9592fe0fd286398b76d2b27a1b6.zip swift-contrib-2437e403c850c9592fe0fd286398b76d2b27a1b6.tar.bz2 |
Don't delete client in a callback.
Diffstat (limited to 'Swift/Controllers/MainController.h')
-rw-r--r-- | Swift/Controllers/MainController.h | 3 |
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_; |