diff options
author | Liam <byteslice@airmail.cc> | 2023-08-26 18:18:13 -0400 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-08-26 18:19:51 -0400 |
commit | 531572b411a4a311cb38bcf09a2c95559ef068aa (patch) | |
tree | 6ac2b262615734628e8442ce8b78ace68f096a26 /src/core/core.cpp | |
parent | bc4e58eb5180a1755d76a24ddc7684cc5d70f2b1 (diff) |
internal_network: cancel pending socket operations on application process termination
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r-- | src/core/core.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp index 2f67e60a97..9c5246a563 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -404,6 +404,7 @@ struct System::Impl { gpu_core->NotifyShutdown(); } + Network::CancelPendingSocketOperations(); kernel.SuspendApplication(true); if (services) { services->KillNVNFlinger(); @@ -425,6 +426,7 @@ struct System::Impl { debugger.reset(); kernel.Shutdown(); memory.Reset(); + Network::RestartSocketOperations(); if (auto room_member = room_network.GetRoomMember().lock()) { Network::GameInfo game_info{}; |