diff --git a/windows/QMK Toolbox/HidConsole/HidConsoleWindow.cs b/windows/QMK Toolbox/HidConsole/HidConsoleWindow.cs index bf3e5cb5d9..3be1196f70 100644 --- a/windows/QMK Toolbox/HidConsole/HidConsoleWindow.cs +++ b/windows/QMK Toolbox/HidConsole/HidConsoleWindow.cs @@ -35,6 +35,9 @@ private void HidConsoleWindow_Load(object sender, EventArgs e) private void HidConsoleWindow_FormClosing(object sender, FormClosingEventArgs e) { + consoleListener.consoleDeviceConnected -= ConsoleDeviceConnected; + consoleListener.consoleDeviceDisconnected -= ConsoleDeviceDisconnected; + consoleListener.consoleReportReceived -= ConsoleReportReceived; consoleListener.Dispose(); } #endregion