Geowigo.Models.WFCoreAdapter.StopAndResetAsync C# (CSharp) Метод

StopAndResetAsync() публичный Метод

Stops the game and then resets the engine asynchronously.
public StopAndResetAsync ( ) : System.Threading.Tasks.Task
Результат System.Threading.Tasks.Task
		public System.Threading.Tasks.Task StopAndResetAsync()
		{
			return System.Threading.Tasks.Task.Factory.StartNew(() =>
			{
				WaitForGameState(EngineGameState.Playing);
				Stop();
				Reset();

				// Clears info about the cartridge to the crash reporter.
				Geowigo.Utils.DebugUtils.ClearBugSenseCrashExtraData();
			});
		}