diff options
author | UbitUmarov | 2016-11-21 01:16:35 +0000 |
---|---|---|
committer | UbitUmarov | 2016-11-21 01:16:35 +0000 |
commit | b2c553b459a8390aaadd8f7c65567b1e557226c2 (patch) | |
tree | 15bf5416658a081a283d7c358e3d9471b4eda044 /OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs | |
parent | handle HG lm tp to large regions in another way (diff) | |
download | opensim-SC_OLD-b2c553b459a8390aaadd8f7c65567b1e557226c2.zip opensim-SC_OLD-b2c553b459a8390aaadd8f7c65567b1e557226c2.tar.gz opensim-SC_OLD-b2c553b459a8390aaadd8f7c65567b1e557226c2.tar.bz2 opensim-SC_OLD-b2c553b459a8390aaadd8f7c65567b1e557226c2.tar.xz |
work around some warnings
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs b/OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs index 7171974..4d726b4 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs | |||
@@ -179,6 +179,11 @@ namespace OpenMetaverse | |||
179 | // m_dropRandomGenerator = new Random(); | 179 | // m_dropRandomGenerator = new Random(); |
180 | } | 180 | } |
181 | 181 | ||
182 | ~OpenSimUDPBase() | ||
183 | { | ||
184 | if(m_udpSocket !=null) | ||
185 | try { m_udpSocket.Close(); } catch { } | ||
186 | } | ||
182 | /// <summary> | 187 | /// <summary> |
183 | /// Start inbound UDP packet handling. | 188 | /// Start inbound UDP packet handling. |
184 | /// </summary> | 189 | /// </summary> |