summaryrefslogtreecommitdiffstats
path: root/src/OSSupport/UDPEndpointImpl.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-03-18 13:49:35 +0100
committerMattes D <github@xoft.cz>2015-03-18 13:50:43 +0100
commit0aff42a4bc7021a8aaa35eeb65fb06630dce4e30 (patch)
treec5589286f1b551d0ad674003bd5388dfe85b6e04 /src/OSSupport/UDPEndpointImpl.cpp
parentMerge pull request #1817 from bibo38/bugfix1715 (diff)
downloadcuberite-0aff42a4bc7021a8aaa35eeb65fb06630dce4e30.tar
cuberite-0aff42a4bc7021a8aaa35eeb65fb06630dce4e30.tar.gz
cuberite-0aff42a4bc7021a8aaa35eeb65fb06630dce4e30.tar.bz2
cuberite-0aff42a4bc7021a8aaa35eeb65fb06630dce4e30.tar.lz
cuberite-0aff42a4bc7021a8aaa35eeb65fb06630dce4e30.tar.xz
cuberite-0aff42a4bc7021a8aaa35eeb65fb06630dce4e30.tar.zst
cuberite-0aff42a4bc7021a8aaa35eeb65fb06630dce4e30.zip
Diffstat (limited to '')
-rw-r--r--src/OSSupport/UDPEndpointImpl.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/OSSupport/UDPEndpointImpl.cpp b/src/OSSupport/UDPEndpointImpl.cpp
index ece521ab8..31ca107ce 100644
--- a/src/OSSupport/UDPEndpointImpl.cpp
+++ b/src/OSSupport/UDPEndpointImpl.cpp
@@ -197,6 +197,15 @@ cUDPEndpointImpl::cUDPEndpointImpl(UInt16 a_Port, cUDPEndpoint::cCallbacks & a_C
+cUDPEndpointImpl::~cUDPEndpointImpl()
+{
+ Close();
+}
+
+
+
+
+
void cUDPEndpointImpl::Close(void)
{
if (m_Port == 0)