mirror of
https://github.com/cyanfish/naps2.git
synced 2024-09-11 15:26:55 +03:00
Fix unregistering event handler
This commit is contained in:
parent
a80880b7f9
commit
a3c4104e99
@ -380,6 +380,7 @@ public class PreviewForm : EtoDialogBase
|
||||
{
|
||||
ImageViewer.Image?.Dispose();
|
||||
ImageViewer.Image = null;
|
||||
ImageList.ImagesUpdated -= ImageList_ImagesUpdated;
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user