summaryrefslogtreecommitdiffstats
path: root/src/OSSupport/NetworkSingleton.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-01-23 23:01:18 +0100
committerMattes D <github@xoft.cz>2015-01-23 23:01:18 +0100
commit10cfa61fbc5d0720f4e4864f50f1298937327348 (patch)
treef0763471ac50f70ad7807309255154bdff806eb8 /src/OSSupport/NetworkSingleton.cpp
parentcNetwork: Renamed callback to OnConnected() (diff)
downloadcuberite-10cfa61fbc5d0720f4e4864f50f1298937327348.tar
cuberite-10cfa61fbc5d0720f4e4864f50f1298937327348.tar.gz
cuberite-10cfa61fbc5d0720f4e4864f50f1298937327348.tar.bz2
cuberite-10cfa61fbc5d0720f4e4864f50f1298937327348.tar.lz
cuberite-10cfa61fbc5d0720f4e4864f50f1298937327348.tar.xz
cuberite-10cfa61fbc5d0720f4e4864f50f1298937327348.tar.zst
cuberite-10cfa61fbc5d0720f4e4864f50f1298937327348.zip
Diffstat (limited to 'src/OSSupport/NetworkSingleton.cpp')
-rw-r--r--src/OSSupport/NetworkSingleton.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/OSSupport/NetworkSingleton.cpp b/src/OSSupport/NetworkSingleton.cpp
index 8c38fb4eb..92f0604cd 100644
--- a/src/OSSupport/NetworkSingleton.cpp
+++ b/src/OSSupport/NetworkSingleton.cpp
@@ -88,6 +88,8 @@ cNetworkSingleton::~cNetworkSingleton()
// Free the underlying LibEvent objects:
evdns_base_free(m_DNSBase, true);
event_base_free(m_EventBase);
+
+ libevent_global_shutdown();
}