diff options
author | Peter Bozsó | 2016-06-20 20:21:21 +0200 |
---|---|---|
committer | Alexander Tkachev | 2016-08-24 16:07:55 +0600 |
commit | cff183536b62c84b6de8c83c3f249466ae3e75d6 (patch) | |
tree | 39611901559c2580ffcbb765c583d25f40347469 /backends/networking/curl | |
parent | 4c381dafa3aff9feeb80e1be3272eba8ca73d442 (diff) | |
download | scummvm-rg350-cff183536b62c84b6de8c83c3f249466ae3e75d6.tar.gz scummvm-rg350-cff183536b62c84b6de8c83c3f249466ae3e75d6.tar.bz2 scummvm-rg350-cff183536b62c84b6de8c83c3f249466ae3e75d6.zip |
CLOUD: Fix crash on exiting ScummVM while ConnMan is active
Diffstat (limited to 'backends/networking/curl')
-rw-r--r-- | backends/networking/curl/connectionmanager.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/networking/curl/connectionmanager.cpp b/backends/networking/curl/connectionmanager.cpp index 5a1e3e97c1..f7c8e2c92d 100644 --- a/backends/networking/curl/connectionmanager.cpp +++ b/backends/networking/curl/connectionmanager.cpp @@ -43,6 +43,8 @@ ConnectionManager::ConnectionManager(): _multi(0), _timerStarted(false), _frame( } ConnectionManager::~ConnectionManager() { + stopTimer(); + //terminate all requests _handleMutex.lock(); for (Common::Array<RequestWithCallback>::iterator i = _requests.begin(); i != _requests.end(); ++i) { |