diff --git a/src/modules/imageresizer/ui/App.xaml.cs b/src/modules/imageresizer/ui/App.xaml.cs index 029c2da138..ccd0993557 100644 --- a/src/modules/imageresizer/ui/App.xaml.cs +++ b/src/modules/imageresizer/ui/App.xaml.cs @@ -51,7 +51,7 @@ namespace ImageResizer { if (disposing) { - _themeManager.Dispose(); + _themeManager?.Dispose(); } // TODO: free unmanaged resources (unmanaged objects) and override finalizer