Updated DBSyncWatcher
Changed from Doing a for loop, to just returning, as we don't want to propogate the signal if we are syncing.
This commit is contained in:
parent
b63f32dd06
commit
c9c88358c3
1 changed files with 1 additions and 4 deletions
|
|
@ -36,10 +36,7 @@ public class DBSyncWatcher
|
|||
{
|
||||
if (e.ChangeType != WatcherChangeTypes.Changed) return;
|
||||
|
||||
while (Locked)
|
||||
{
|
||||
Thread.Sleep(100);
|
||||
}
|
||||
if (Locked) return;
|
||||
|
||||
var dbName = Path.GetFileName(e.FullPath);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue