public void OperationCanceledException_DoesNotCauseAutomaticRetry() { var component = new WaitingComponent(); var supervisor = new ServerSupervisor(component, _options); supervisor.Start(); Thread.Sleep(500); supervisor.Dispose(); Assert.Equal(1, component.CalledTimes); }
private void SystemUpdate() { if (IsMutliplayer) { MultiplayerComponent.Update(this); } WaitingComponent?.Update(this); if (CurrentGameStatus == GameStatus.Running) { GameUpdate(); } }