From 00ce9eea620652b97b4d3e8cd9218c6fccff8b1c Mon Sep 17 00:00:00 2001 From: Mary Date: Tue, 29 Jun 2021 19:37:13 +0200 Subject: Fix disposing of IPC sessions server at emulation stop (#2334) --- Ryujinx.HLE/HOS/Services/Sm/IUserInterface.cs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Ryujinx.HLE/HOS/Services/Sm/IUserInterface.cs') diff --git a/Ryujinx.HLE/HOS/Services/Sm/IUserInterface.cs b/Ryujinx.HLE/HOS/Services/Sm/IUserInterface.cs index 8b1ec5b8..a5595e31 100644 --- a/Ryujinx.HLE/HOS/Services/Sm/IUserInterface.cs +++ b/Ryujinx.HLE/HOS/Services/Sm/IUserInterface.cs @@ -245,5 +245,12 @@ namespace Ryujinx.HLE.HOS.Services.Sm return name; } + + public override void DestroyAtExit() + { + _commonServer.Dispose(); + + base.DestroyAtExit(); + } } } \ No newline at end of file -- cgit v1.2.3