osu.Framework/Platform/GameHost.cs
/// <summary>
/// Schedules the game to exit in the next frame (or immediately if <paramref name="immediately"/> is true).
/// </summary>
/// <param name="immediately">If true, exits the game immediately.  If false (default), schedules the game to exit in the next frame.</param>
Schedules the game to exit in the next frame (or immediately if  is true).
Schedules the game to exit in the next frame ( or immediately if is true ) .
protected virtual void PerformExit(bool immediately)
        {
            if (immediately)
                exit();
            else
            {
                ExecutionState = ExecutionState.Stopping;
                InputThread.Scheduler.Add(exit, false);
            }
        }
protected virtual void PerformExit ( bool immediately ) { if ( immediately ) exit ( ) ; else { ExecutionState = ExecutionState . Stopping ; InputThread . Scheduler . Add ( exit , false ) ; } }
Schedules the game to exit in the next frame (or immediately if  is true).
Schedules the game to exit in the next frame ( or immediately if is true ) .
immediately
bool
If true, exits the game immediately.  If false (default), schedules the game to exit in the next frame.
If true exits the game immediately . If false ( default ) schedules the game to exit in the next frame .