mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 02:36:00 +08:00
Actually call Close() for shared region modules when the simulator is being shutdown.
Adds regression test for this case.
This commit is contained in:
@@ -316,9 +316,12 @@ namespace OpenSim.Region.CoreModules.Asset
|
||||
/// </summary>
|
||||
public void Close()
|
||||
{
|
||||
m_enabled = false;
|
||||
m_cache.Clear();
|
||||
m_cache = null;
|
||||
if (m_enabled)
|
||||
{
|
||||
m_enabled = false;
|
||||
m_cache.Clear();
|
||||
m_cache = null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user