void UOnlineSessionClient::DestroyExistingSession_Impl(FDelegateHandle& OutResult, FName SessionName, FOnDestroySessionCompleteDelegate& Delegate) { IOnlineSessionPtr SessionInt = GetSessionInt(); if (SessionInt.IsValid()) { OutResult = SessionInt->AddOnDestroySessionCompleteDelegate_Handle(Delegate); SessionInt->DestroySession(SessionName); } else { OutResult.Reset(); Delegate.ExecuteIfBound(SessionName, true); } }
bool Tick(float DeltaTime) { if (!FPlatformProcess::IsProcRunning(CurrentlyRunningCrashReporter)) { FPlatformProcess::CloseProc(CurrentlyRunningCrashReporter); CurrentlyRunningCrashReporter = FProcHandle(); FTicker::GetCoreTicker().RemoveTicker(CurrentTicker); CurrentTicker.Reset(); UE_LOG(LogLinux, Log, TEXT("Done sending crash report for ensure().")); return false; } // tick again return true; }