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);
|
||||||
|
@ -479,7 +480,14 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Grid
|
||||||
handle &= HANDLEMASK;
|
handle &= HANDLEMASK;
|
||||||
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