diff options
author | Steve Pfister <steveisok@users.noreply.github.com> | 2019-09-11 15:18:11 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-11 15:18:11 +0300 |
commit | e79cf5bb4f1665b68e043a20df7f6c6ba5b4e629 (patch) | |
tree | 87ded94b1b902b30b3a726b400b6ccd275faba99 | |
parent | ee3acec16b37bec5016da129e1e3840097ca629b (diff) |
Pull in fsw fix that fixes https://github.com/dotnet/corefx/issues/40888 (#343)
Backport of: https://github.com/dotnet/corefx/pull/41013
-rw-r--r-- | src/System.IO.FileSystem.Watcher/src/System/IO/FileSystemWatcher.OSX.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/System.IO.FileSystem.Watcher/src/System/IO/FileSystemWatcher.OSX.cs b/src/System.IO.FileSystem.Watcher/src/System/IO/FileSystemWatcher.OSX.cs index 8771520664..959597cfd4 100644 --- a/src/System.IO.FileSystem.Watcher/src/System/IO/FileSystemWatcher.OSX.cs +++ b/src/System.IO.FileSystem.Watcher/src/System/IO/FileSystemWatcher.OSX.cs @@ -280,6 +280,8 @@ namespace System.IO finally { StaticWatcherRunLoopManager.UnscheduleFromRunLoop(_eventStream); + _eventStream.Close(); + _eventStream = null; } } } |