public void Dispose() { ServerWorld?.Dispose(); ClientWorld?.Dispose(); DefaultWorld?.Dispose(); ServerWorld = null; ClientWorld = null; DefaultWorld = null; ClientServerBootstrap.SystemStates = _oldState; }
public void TearDown() { serverWorld.Dispose(); clientWorld.Dispose(); }