diff options
Diffstat (limited to 'Sparkles/BaseRepository.cs')
-rw-r--r-- | Sparkles/BaseRepository.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Sparkles/BaseRepository.cs b/Sparkles/BaseRepository.cs index efe95e7..0883292 100644 --- a/Sparkles/BaseRepository.cs +++ b/Sparkles/BaseRepository.cs @@ -664,7 +664,7 @@ namespace Sparkles { // this.listener.Dispose (); - if (!UseCustomWatcher) + if (!UseCustomWatcher && this.watcher != null) this.watcher.Dispose (); } } |