You've already forked linux-packaging-mono
Imported Upstream version 6.4.0.137
Former-commit-id: 943baa9f16a098c33e129777827f3a9d20da00d6
This commit is contained in:
parent
e9207cf623
commit
ef583813eb
@ -128,8 +128,10 @@ namespace System.IO {
|
||||
lock (watches) {
|
||||
data = (DefaultWatcherData) watches [fsw];
|
||||
if (data != null) {
|
||||
data.Enabled = false;
|
||||
data.DisabledTime = DateTime.UtcNow;
|
||||
lock (data.FilesLock) {
|
||||
data.Enabled = false;
|
||||
data.DisabledTime = DateTime.UtcNow;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -221,7 +223,8 @@ namespace System.IO {
|
||||
}
|
||||
|
||||
lock (data.FilesLock) {
|
||||
IterateAndModifyFilesData (data, directory, dispatch, files);
|
||||
if (data.Enabled)
|
||||
IterateAndModifyFilesData (data, directory, dispatch, files);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user