mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
* Added removal of TextureSenders and UserTextureDownloadService on agent leaving region.
This commit is contained in:
@@ -94,5 +94,18 @@ namespace OpenSim.Region.Environment.Modules
|
||||
m_sharedSendersQueue.Enqueue(textureSender);
|
||||
}
|
||||
}
|
||||
|
||||
internal void Close()
|
||||
{
|
||||
lock (m_textureSenders)
|
||||
{
|
||||
foreach( TextureSender textureSender in m_textureSenders.Values )
|
||||
{
|
||||
textureSender.Cancel = true;
|
||||
}
|
||||
|
||||
m_textureSenders.Clear();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user