diff --git a/NAPS2.Lib.WinForms/WinForms/DragScrollListView.cs b/NAPS2.Lib.WinForms/WinForms/DragScrollListView.cs index acd6c2e633..0b8b1aa1d8 100644 --- a/NAPS2.Lib.WinForms/WinForms/DragScrollListView.cs +++ b/NAPS2.Lib.WinForms/WinForms/DragScrollListView.cs @@ -22,6 +22,7 @@ public DragScrollListView() _tmrLvScroll = new Timer(components); SuspendLayout(); _tmrLvScroll.Tick += tmrLVScroll_Tick; + HandleDestroyed += (_, _) => _tmrLvScroll.Dispose(); DragOver += ListViewBase_DragOver; ResumeLayout(false); }