From 7c544c0d4e4eab827f69acd90f47d593153117d6 Mon Sep 17 00:00:00 2001 From: "Justin Clark-Casey (justincc)" Date: Thu, 18 Jul 2013 00:39:28 +0100 Subject: [PATCH] Properly remove the hack queue update thread when the voewr shuts down No functional change. --- OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs index daed99a41f..60bdcb9e34 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs @@ -223,7 +223,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP private void ActOnEmptyQueue() { - while (true) + while (IsConnected) { m_queueEmptyEvent.WaitOne(); FireQueueEmpty(m_categories);