diff options
author | Alexander Tkachev | 2016-06-01 14:07:50 +0600 |
---|---|---|
committer | Alexander Tkachev | 2016-08-24 16:07:55 +0600 |
commit | 1f974a7a2a2073074391fbf090d2bf909006e773 (patch) | |
tree | e9aa08c22b4400dea1006f064be06b2ee1e2a590 /base | |
parent | a66322408f95ff7b29cf6967eaecaac06dfe5b31 (diff) | |
download | scummvm-rg350-1f974a7a2a2073074391fbf090d2bf909006e773.tar.gz scummvm-rg350-1f974a7a2a2073074391fbf090d2bf909006e773.tar.bz2 scummvm-rg350-1f974a7a2a2073074391fbf090d2bf909006e773.zip |
CLOUD: Fix ConnectionManager's destructor
It now terminates active Requests.
Diffstat (limited to 'base')
-rw-r--r-- | base/main.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/base/main.cpp b/base/main.cpp index 36dd8c6f18..aede61790c 100644 --- a/base/main.cpp +++ b/base/main.cpp @@ -67,6 +67,9 @@ #include "backends/keymapper/keymapper.h" #include "common/cloudmanager.h" +#ifdef USE_LIBCURL +#include "backends/networking/curl/connectionmanager.h" +#endif #if defined(_WIN32_WCE) #include "backends/platform/wince/CELauncherDialog.h" @@ -591,6 +594,9 @@ extern "C" int scummvm_main(int argc, const char * const argv[]) { launcherDialog(); } } +#ifdef USE_LIBCURL + Networking::ConnectionManager::destroy(); +#endif PluginManager::instance().unloadAllPlugins(); PluginManager::destroy(); GUI::GuiManager::destroy(); |