diff --git a/hide/tools/FileWatcher.hx b/hide/tools/FileWatcher.hx index 5e09cddbf..53caea175 100644 --- a/hide/tools/FileWatcher.hx +++ b/hide/tools/FileWatcher.hx @@ -57,7 +57,9 @@ class FileWatcher { } public function ignorePrevChange( f : FileWatchEvent ) { - f.ignoreCheck = getSignature(f.path); + if (f != null) { + f.ignoreCheck = getSignature(f.path); + } } function getSignature( path : String ) : String { @@ -230,4 +232,4 @@ class FileWatcher { } -} \ No newline at end of file +}