diff options
Diffstat (limited to 'OpenSim/Region/Environment/Modules/UserTextureDownloadService.cs')
-rw-r--r-- | OpenSim/Region/Environment/Modules/UserTextureDownloadService.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/UserTextureDownloadService.cs b/OpenSim/Region/Environment/Modules/UserTextureDownloadService.cs index b458d67..08b6979 100644 --- a/OpenSim/Region/Environment/Modules/UserTextureDownloadService.cs +++ b/OpenSim/Region/Environment/Modules/UserTextureDownloadService.cs | |||
@@ -37,6 +37,9 @@ namespace OpenSim.Region.Environment.Modules | |||
37 | { | 37 | { |
38 | public class UserTextureDownloadService | 38 | public class UserTextureDownloadService |
39 | { | 39 | { |
40 | private static readonly log4net.ILog m_log | ||
41 | = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); | ||
42 | |||
40 | private readonly Dictionary<LLUUID, TextureSender> m_textureSenders = new Dictionary<LLUUID, TextureSender>(); | 43 | private readonly Dictionary<LLUUID, TextureSender> m_textureSenders = new Dictionary<LLUUID, TextureSender>(); |
41 | private readonly BlockingQueue<TextureSender> m_sharedSendersQueue; | 44 | private readonly BlockingQueue<TextureSender> m_sharedSendersQueue; |
42 | private readonly Scene m_scene; | 45 | private readonly Scene m_scene; |
@@ -98,9 +101,12 @@ namespace OpenSim.Region.Environment.Modules | |||
98 | if (!textureSender.ImageLoaded) | 101 | if (!textureSender.ImageLoaded) |
99 | { | 102 | { |
100 | textureSender.TextureReceived(asset); | 103 | textureSender.TextureReceived(asset); |
101 | |||
102 | EnqueueTextureSender(textureSender); | 104 | EnqueueTextureSender(textureSender); |
103 | } | 105 | } |
106 | |||
107 | m_log.Info(String.Format("[TEXTURE SENDER] Removing texture sender with uuid {0}", textureID)); | ||
108 | m_textureSenders.Remove(textureID); | ||
109 | m_log.Info(String.Format("[TEXTURE SENDER] Current texture senders in dictionary: {0}", m_textureSenders.Count)); | ||
104 | } | 110 | } |
105 | else | 111 | else |
106 | { | 112 | { |