fix null reference exception reported by Windows Store

This commit is contained in:
Paddy Xu
2018-03-04 15:40:21 +02:00
parent 347faf6a03
commit c0c2036686

View File

@@ -150,7 +150,7 @@ namespace QuickLook
private void CurrentPluginFailed(string path, ExceptionDispatchInfo e)
{
var plugin = _viewerWindow.Plugin.GetType();
var plugin = _viewerWindow.Plugin?.GetType();
_viewerWindow.BeginHide();