diff --git a/BeatSaberMarkupLanguage/ViewControllers/WatcherGroup.cs b/BeatSaberMarkupLanguage/ViewControllers/WatcherGroup.cs index a3df6297..faa6bff0 100644 --- a/BeatSaberMarkupLanguage/ViewControllers/WatcherGroup.cs +++ b/BeatSaberMarkupLanguage/ViewControllers/WatcherGroup.cs @@ -188,6 +188,11 @@ private void CreateWatcher() private void DestroyWatcher() { + if (Watcher == null) + { + return; + } + #if HRVC_DEBUG Logger.Log.Debug($"Destroying FileSystemWatcher for {ContentDirectory}"); #endif