aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs
diff options
context:
space:
mode:
authorUbitUmarov2016-11-21 01:16:35 +0000
committerUbitUmarov2016-11-21 01:16:35 +0000
commitb2c553b459a8390aaadd8f7c65567b1e557226c2 (patch)
tree15bf5416658a081a283d7c358e3d9471b4eda044 /OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs
parenthandle HG lm tp to large regions in another way (diff)
downloadopensim-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.cs5
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>