private void OnReturnedToTitle(object sender, ReturnedToTitleEventArgs e) { // Unload if the main player quits. if (Context.ScreenId != 0) { return; } _modOptionsPageHandler?.Dispose(); _modOptionsPageHandler = null; }
private void OnReturnedToTitle(object sender, ReturnedToTitleEventArgs e) { _modOptionsPageHandler?.Dispose(); _modOptionsPageHandler = null; }
private void ReturnToTitle(object sender, EventArgs e) { _modOptionsPageHandler.Dispose(); _modOptionsPageHandler = null; }