diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/RegionInfoCache.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/RegionInfoCache.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/RegionInfoCache.cs index 9fd4cd5..5eb525b 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/RegionInfoCache.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/RegionInfoCache.cs | |||
@@ -401,6 +401,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Grid | |||
401 | ulong handle = region.RegionHandle & HANDLEMASK; | 401 | ulong handle = region.RegionHandle & HANDLEMASK; |
402 | if(storage != null) | 402 | if(storage != null) |
403 | storage.Remove(handle); | 403 | storage.Remove(handle); |
404 | removeFromInner(region); | ||
404 | if(expires != null) | 405 | if(expires != null) |
405 | { | 406 | { |
406 | expires.Remove(handle); | 407 | expires.Remove(handle); |
@@ -479,7 +480,14 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Grid | |||
479 | handle &= HANDLEMASK; | 480 | handle &= HANDLEMASK; |
480 | if(storage.ContainsKey(handle)) | 481 | if(storage.ContainsKey(handle)) |
481 | return storage[handle]; | 482 | return storage[handle]; |
483 | |||
484 | if(!innerHandles.ContainsKey(handle)) | ||
485 | return null; | ||
482 | 486 | ||
487 | ulong rhandle = innerHandles[handle]; | ||
488 | if(storage.ContainsKey(rhandle)) | ||
489 | return storage[rhandle]; | ||
490 | |||
483 | return null; | 491 | return null; |
484 | } | 492 | } |
485 | 493 | ||