Properly remove the hack queue update thread when the voewr shuts down

No functional change.
cpu-performance
Justin Clark-Casey (justincc) 2013-07-18 00:39:28 +01:00
parent b402220dbb
commit 7c544c0d4e
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
private void ActOnEmptyQueue() private void ActOnEmptyQueue()
{ {
while (true) while (IsConnected)
{ {
m_queueEmptyEvent.WaitOne(); m_queueEmptyEvent.WaitOne();
FireQueueEmpty(m_categories); FireQueueEmpty(m_categories);