Skip to content

Commit

Permalink
Fix undisposed timer
Browse files Browse the repository at this point in the history
  • Loading branch information
cyanfish committed Oct 5, 2024
1 parent 741ed9f commit 9e249b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions NAPS2.Lib.WinForms/WinForms/DragScrollListView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ public DragScrollListView()
_tmrLvScroll = new Timer(components);
SuspendLayout();
_tmrLvScroll.Tick += tmrLVScroll_Tick;
HandleDestroyed += (_, _) => _tmrLvScroll.Dispose();
DragOver += ListViewBase_DragOver;
ResumeLayout(false);
}
Expand Down

0 comments on commit 9e249b0

Please sign in to comment.