This commit is contained in:
Paddy Xu
2017-08-06 17:27:30 +03:00
parent 3a20245304
commit 5b97e7ef60
17 changed files with 243 additions and 23 deletions

View File

@@ -90,7 +90,8 @@ namespace QuickLook.Plugin.VideoViewer
public void Cleanup()
{
_vp.mediaElement.VlcMediaPlayer.Opening -= MarkReady;
if (_vp != null)
_vp.mediaElement.VlcMediaPlayer.Opening -= MarkReady;
_vp?.Dispose();
_vp = null;