Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Pfister <steveisok@users.noreply.github.com>2019-09-11 15:18:11 +0300
committerGitHub <noreply@github.com>2019-09-11 15:18:11 +0300
commite79cf5bb4f1665b68e043a20df7f6c6ba5b4e629 (patch)
tree87ded94b1b902b30b3a726b400b6ccd275faba99
parentee3acec16b37bec5016da129e1e3840097ca629b (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.cs2
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;
}
}
}