let get by handle also search on inner lookup table
parent
721d5ed145
commit
1b16ad9088
|
@ -401,6 +401,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Grid
|
||||||
ulong handle = region.RegionHandle & HANDLEMASK;
|
ulong handle = region.RegionHandle & HANDLEMASK;
|
||||||
if(storage != null)
|
if(storage != null)
|
||||||
storage.Remove(handle);
|
storage.Remove(handle);
|
||||||
|
removeFromInner(region);
|
||||||
if(expires != null)
|
if(expires != null)
|
||||||
{
|
{
|
||||||
expires.Remove(handle);
|
expires.Remove(handle);
|
||||||
|
@ -480,6 +481,13 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Grid
|
||||||
if(storage.ContainsKey(handle))
|
if(storage.ContainsKey(handle))
|
||||||
return storage[handle];
|
return storage[handle];
|
||||||
|
|
||||||
|
if(!innerHandles.ContainsKey(handle))
|
||||||
|
return null;
|
||||||
|
|
||||||
|
ulong rhandle = innerHandles[handle];
|
||||||
|
if(storage.ContainsKey(rhandle))
|
||||||
|
return storage[rhandle];
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue