private static async Task WaitOnSuspend() { if (!GAState.UseManualSessionHandling) { OnSuspend(); while (!GAThreading.IsThreadFinished()) { await Task.Delay(100); } } else { GALogger.I("OnSuspending: Not calling GameAnalytics.OnStop() as using manual session handling"); } }