diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/ClientStack/UDPServer.cs | 7 | ||||
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/OdePlugin.cs | 8 |
2 files changed, 11 insertions, 4 deletions
diff --git a/OpenSim/Region/ClientStack/UDPServer.cs b/OpenSim/Region/ClientStack/UDPServer.cs index 59083c7..3d1512f 100644 --- a/OpenSim/Region/ClientStack/UDPServer.cs +++ b/OpenSim/Region/ClientStack/UDPServer.cs | |||
@@ -208,10 +208,14 @@ namespace OpenSim.Region.ClientStack | |||
208 | // Stupid I know.. | 208 | // Stupid I know.. |
209 | // but Flusing the buffer would be even more stupid... so, we're stuck with this ugly method. | 209 | // but Flusing the buffer would be even more stupid... so, we're stuck with this ugly method. |
210 | } | 210 | } |
211 | |||
211 | catch (SocketException e2) | 212 | catch (SocketException e2) |
212 | { | 213 | { |
213 | m_log.Error("[UDPSERVER]: " + e2.ToString()); | 214 | m_log.Error("[UDPSERVER]: " + e2.ToString()); |
214 | } | 215 | } |
216 | catch (ObjectDisposedException) | ||
217 | { | ||
218 | } | ||
215 | //return; | 219 | //return; |
216 | } | 220 | } |
217 | 221 | ||
@@ -264,6 +268,9 @@ namespace OpenSim.Region.ClientStack | |||
264 | m_log.Error("[UDPSERVER]: " + e5.ToString()); | 268 | m_log.Error("[UDPSERVER]: " + e5.ToString()); |
265 | } | 269 | } |
266 | } | 270 | } |
271 | catch (ObjectDisposedException) | ||
272 | { | ||
273 | } | ||
267 | 274 | ||
268 | if (packet != null) | 275 | if (packet != null) |
269 | { | 276 | { |
diff --git a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs index fa128de..a2f440e 100644 --- a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs +++ b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs | |||
@@ -2064,10 +2064,10 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
2064 | RemovePrim(prm); | 2064 | RemovePrim(prm); |
2065 | } | 2065 | } |
2066 | 2066 | ||
2067 | foreach (OdeCharacter act in _characters) | 2067 | //foreach (OdeCharacter act in _characters) |
2068 | { | 2068 | //{ |
2069 | RemoveAvatar(act); | 2069 | //RemoveAvatar(act); |
2070 | } | 2070 | //} |
2071 | d.WorldDestroy(world); | 2071 | d.WorldDestroy(world); |
2072 | //d.CloseODE(); | 2072 | //d.CloseODE(); |
2073 | } | 2073 | } |