diff options
| author | 2023-08-26 18:18:13 -0400 | |
|---|---|---|
| committer | 2023-08-26 18:19:51 -0400 | |
| commit | 531572b411a4a311cb38bcf09a2c95559ef068aa (patch) | |
| tree | 6ac2b262615734628e8442ce8b78ace68f096a26 /src/core/core.cpp | |
| parent | Merge pull request #11377 from BenjaminHalko/reverse-slider-input (diff) | |
| download | yuzu-531572b411a4a311cb38bcf09a2c95559ef068aa.tar.gz yuzu-531572b411a4a311cb38bcf09a2c95559ef068aa.tar.xz yuzu-531572b411a4a311cb38bcf09a2c95559ef068aa.zip | |
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 2f67e60a9..9c5246a56 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp | |||
| @@ -404,6 +404,7 @@ struct System::Impl { | |||
| 404 | gpu_core->NotifyShutdown(); | 404 | gpu_core->NotifyShutdown(); |
| 405 | } | 405 | } |
| 406 | 406 | ||
| 407 | Network::CancelPendingSocketOperations(); | ||
| 407 | kernel.SuspendApplication(true); | 408 | kernel.SuspendApplication(true); |
| 408 | if (services) { | 409 | if (services) { |
| 409 | services->KillNVNFlinger(); | 410 | services->KillNVNFlinger(); |
| @@ -425,6 +426,7 @@ struct System::Impl { | |||
| 425 | debugger.reset(); | 426 | debugger.reset(); |
| 426 | kernel.Shutdown(); | 427 | kernel.Shutdown(); |
| 427 | memory.Reset(); | 428 | memory.Reset(); |
| 429 | Network::RestartSocketOperations(); | ||
| 428 | 430 | ||
| 429 | if (auto room_member = room_network.GetRoomMember().lock()) { | 431 | if (auto room_member = room_network.GetRoomMember().lock()) { |
| 430 | Network::GameInfo game_info{}; | 432 | Network::GameInfo game_info{}; |