1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 09:20:16 +01:00

Make lib-network-manager an opt-in library

This commit is contained in:
Dmitry Vedenko
2021-05-26 16:35:12 +03:00
committed by Dmitry Vedenko
parent fdd20452ea
commit 4dc4e86863
7 changed files with 38 additions and 17 deletions

View File

@@ -112,7 +112,9 @@ It handles initialization and termination by subclassing wxApp.
#include "widgets/FileConfig.h"
#include "widgets/FileHistory.h"
#ifdef HAS_NETWORKING
#include "NetworkManager.h"
#endif
#ifdef EXPERIMENTAL_EASY_CHANGE_KEY_BINDINGS
#include "prefs/KeyConfigPrefs.h"
@@ -2202,7 +2204,9 @@ int AudacityApp::OnExit()
// Terminate the PluginManager (must be done before deleting the locale)
PluginManager::Get().Terminate();
#ifdef HAS_NETWORKING
audacity::network_manager::NetworkManager::GetInstance().Terminate();
#endif
return 0;
}