diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs index 44c65e0..9cce725 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs | |||
@@ -1138,7 +1138,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
1138 | if (!client.SceneAgent.IsChildAgent) | 1138 | if (!client.SceneAgent.IsChildAgent) |
1139 | client.Kick("Simulator logged you out due to connection timeout"); | 1139 | client.Kick("Simulator logged you out due to connection timeout"); |
1140 | 1140 | ||
1141 | client.Close(); | 1141 | Util.FireAndForget(o => client.Close()); |
1142 | } | 1142 | } |
1143 | 1143 | ||
1144 | private void IncomingPacketHandler() | 1144 | private void IncomingPacketHandler() |
@@ -1149,6 +1149,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
1149 | 1149 | ||
1150 | while (base.IsRunning) | 1150 | while (base.IsRunning) |
1151 | { | 1151 | { |
1152 | m_scene.ThreadAlive(1); | ||
1152 | try | 1153 | try |
1153 | { | 1154 | { |
1154 | IncomingPacket incomingPacket = null; | 1155 | IncomingPacket incomingPacket = null; |
@@ -1191,6 +1192,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
1191 | 1192 | ||
1192 | while (base.IsRunning) | 1193 | while (base.IsRunning) |
1193 | { | 1194 | { |
1195 | m_scene.ThreadAlive(2); | ||
1194 | try | 1196 | try |
1195 | { | 1197 | { |
1196 | m_packetSent = false; | 1198 | m_packetSent = false; |
@@ -1460,4 +1462,4 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
1460 | } | 1462 | } |
1461 | } | 1463 | } |
1462 | } | 1464 | } |
1463 | } \ No newline at end of file | 1465 | } |