mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 02:36:00 +08:00
Fixed exception upon shutting down in plain ODE.
09:49:57 - [SHUTDOWN]: Ignoring failure during shutdown - System.NullReferenceException: Object reference not set to an instance of an object. at OpenSim.Region.PhysicsModule.ODE.OdeScene.Dispose() in f:\dev\opensim-core\OpenSim\Region\PhysicsModules\Ode\OdeScene.cs:line 4062
This commit is contained in:
@@ -4059,8 +4059,11 @@ namespace OpenSim.Region.PhysicsModule.ODE
|
||||
{
|
||||
_worldInitialized = false;
|
||||
|
||||
m_rayCastManager.Dispose();
|
||||
m_rayCastManager = null;
|
||||
if (m_rayCastManager != null)
|
||||
{
|
||||
m_rayCastManager.Dispose();
|
||||
m_rayCastManager = null;
|
||||
}
|
||||
|
||||
lock (OdeLock)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user