mirror of
https://github.com/atom/atom.git
synced 2026-01-25 14:59:03 -05:00
Don't report errors after stop
This commit is contained in:
@@ -130,6 +130,10 @@ class NativeWatcher {
|
||||
//
|
||||
// * `err` The native filesystem error.
|
||||
onError (err) {
|
||||
if (!this.isRunning()) {
|
||||
return
|
||||
}
|
||||
|
||||
console.error(err)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user