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 4062avinationmerge
parent
8d7fa62088
commit
45b8e6c1a7
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue