From a0687b630caf022a5c9e9860ebf94f7aa6200fad Mon Sep 17 00:00:00 2001 From: Isaac Marovitz Date: Sat, 12 Aug 2023 12:29:20 +0100 Subject: [PATCH] Analyzer fix --- src/Ryujinx.Ava/UI/ViewModels/Input/InputViewModel.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Ryujinx.Ava/UI/ViewModels/Input/InputViewModel.cs b/src/Ryujinx.Ava/UI/ViewModels/Input/InputViewModel.cs index c3f1bb400..ef8ffd50d 100644 --- a/src/Ryujinx.Ava/UI/ViewModels/Input/InputViewModel.cs +++ b/src/Ryujinx.Ava/UI/ViewModels/Input/InputViewModel.cs @@ -875,6 +875,8 @@ namespace Ryujinx.Ava.UI.ViewModels.Input public void Dispose() { + GC.SuppressFinalize(this); + _mainWindow.InputManager.GamepadDriver.OnGamepadConnected -= HandleOnGamepadConnected; _mainWindow.InputManager.GamepadDriver.OnGamepadDisconnected -= HandleOnGamepadDisconnected;