Merge pull request #11385 from liamwhite/acceptcancel
internal_network: cancel pending socket operations on application process termination
This commit is contained in:
commit
8fb9f78e83
3 changed files with 91 additions and 3 deletions
|
@ -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{};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue