mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-12 10:19:07 +00: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