mirror of
https://github.com/QL-Win/QuickLook.git
synced 2026-03-06 02:02:34 +08:00
fix memory leak and set object to null when switching viewer target
This commit is contained in:
@@ -55,6 +55,7 @@ namespace QuickLook.Plugin.VideoViewer
|
||||
public void Cleanup()
|
||||
{
|
||||
_vp?.Dispose();
|
||||
_vp = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user