/// <summary> /// This method should be called when the UI is exited. /// </summary> public static void OnUiExit() { Debug.Assert(UiEntryCount > 0); UiEntryCount--; if (UiEntryCount == 0) { WmSm.HandleUiExit(); } }