Skip to content

Commit e91741f

Browse files
committed
Delay event set
1 parent 66626e6 commit e91741f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Files/ViewModels/ItemViewModel.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1787,11 +1787,11 @@ private void WatchForDirectoryChanges(string path, CloudDriveSyncStatus syncStat
17871787

17881788
operationQueue.Enqueue((action, FileName));
17891789

1790-
operationEvent.Set();
1791-
17921790
offset += notifyInfo.NextEntryOffset;
17931791
} while (notifyInfo.NextEntryOffset != 0 && x.Status != AsyncStatus.Canceled);
17941792

1793+
operationEvent.Set();
1794+
17951795
//ResetEvent(overlapped.hEvent);
17961796
Debug.WriteLine("Task running...");
17971797
}

0 commit comments

Comments
 (0)