Analyzer fix

This commit is contained in:
Isaac Marovitz 2023-08-12 12:29:20 +01:00 committed by Isaac Marovitz
parent 3a10d79bd9
commit a0687b630c

View file

@ -875,6 +875,8 @@ namespace Ryujinx.Ava.UI.ViewModels.Input
public void Dispose() public void Dispose()
{ {
GC.SuppressFinalize(this);
_mainWindow.InputManager.GamepadDriver.OnGamepadConnected -= HandleOnGamepadConnected; _mainWindow.InputManager.GamepadDriver.OnGamepadConnected -= HandleOnGamepadConnected;
_mainWindow.InputManager.GamepadDriver.OnGamepadDisconnected -= HandleOnGamepadDisconnected; _mainWindow.InputManager.GamepadDriver.OnGamepadDisconnected -= HandleOnGamepadDisconnected;