mirror of
https://github.com/BepInEx/dotnet-runtime.git
synced 2026-11-24 21:54:01 -10:00
remove extra watcher
Commit migrated from https://github.com/dotnet/corefx/commit/b20a4917f19243a6ec2b12ae420736ac83cb05a0
This commit is contained in:
1 parent
f3bdf9ab31
commit
e950a40bd6
1 file changed
+1
-2
+1
-2
@@ -55,7 +55,6 @@ namespace System.IO.Tests
|
||||
ExecuteWithRetry(() =>
|
||||
{
|
||||
using (var watcher1 = new FileSystemWatcher(TestDirectory))
|
||||
using (var watcher2 = new FileSystemWatcher(TestDirectory))
|
||||
{
|
||||
string fileName = Path.Combine(TestDirectory, "file");
|
||||
watcher1.Filter = Path.GetFileName(fileName);
|
||||
@@ -348,4 +347,4 @@ namespace System.IO.Tests
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user