mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
Adding commented out log messages and some minor formatting for future bug hunting. No functional changes.
This commit is contained in:
@@ -39,6 +39,9 @@ using log4net;
|
||||
|
||||
namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
{
|
||||
/// <summary>
|
||||
/// This class handles UDP texture requests.
|
||||
/// </summary>
|
||||
public class LLImageManager
|
||||
{
|
||||
private sealed class J2KImageComparer : IComparer<J2KImage>
|
||||
@@ -228,15 +231,19 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
image.PriorityQueueHandle = null;
|
||||
|
||||
lock (m_syncRoot)
|
||||
{
|
||||
try { m_priorityQueue.Add(ref image.PriorityQueueHandle, image); }
|
||||
catch (Exception) { }
|
||||
}
|
||||
}
|
||||
|
||||
void RemoveImageFromQueue(J2KImage image)
|
||||
{
|
||||
lock (m_syncRoot)
|
||||
{
|
||||
try { m_priorityQueue.Delete(image.PriorityQueueHandle); }
|
||||
catch (Exception) { }
|
||||
}
|
||||
}
|
||||
|
||||
void UpdateImageInQueue(J2KImage image)
|
||||
@@ -254,4 +261,4 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
|
||||
#endregion Priority Queue Helpers
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user