public void Dispose() { m_ShouldStopUpdates = true; UpdatesThread.Join(); m_Navmesh.RemoveObserver(this); }
public virtual void Dispose() { m_ShouldStopUpdates = true; if (!UpdatesThread.Join(3000)) { UpdatesThread.Abort(); } m_Navmesh.RemoveObserver(this); m_Navigator.RemoveObserver(this); }
public virtual void Dispose() { UpdatesThread.Abort(); if (m_Explorator != null) { m_Explorator.Dispose(); } Navigator.Dispose(); }
public void Dispose() { UpdatesThread.Abort(); }
public virtual void Dispose() { m_ShouldStopUpdates = true; UpdatesThread.Join(); }