mirror of
https://github.com/QL-Win/QuickLook.git
synced 2026-02-27 01:00:11 +08:00
fix memory leak and set object to null when switching viewer target
This commit is contained in:
@@ -49,6 +49,7 @@ namespace QuickLook.Plugin.MarkdownViewer
|
||||
GC.SuppressFinalize(this);
|
||||
|
||||
_panel?.Dispose();
|
||||
_panel = null;
|
||||
}
|
||||
|
||||
~Plugin()
|
||||
|
||||
Reference in New Issue
Block a user