1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-09-05 10:56:31 -05:00

Merge pull request #11385 from liamwhite/acceptcancel

internal_network: cancel pending socket operations on application process termination
This commit is contained in:
liamwhite
2023-09-13 15:40:58 -04:00
committed by GitHub
3 changed files with 91 additions and 3 deletions

View File

@@ -406,6 +406,7 @@ struct System::Impl {
gpu_core->NotifyShutdown();
}
Network::CancelPendingSocketOperations();
kernel.SuspendApplication(true);
if (services) {
services->KillNVNFlinger();
@@ -427,6 +428,7 @@ struct System::Impl {
debugger.reset();
kernel.Shutdown();
memory.Reset();
Network::RestartSocketOperations();
if (auto room_member = room_network.GetRoomMember().lock()) {
Network::GameInfo game_info{};