-
Notifications
You must be signed in to change notification settings - Fork 246
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix folder_change_reader_state destructor hang. (#386)
* Fix folder_change_reader_state destructor hang. If there is no pending operation, CancelIoEx returns an error and GetOverlappedResult hangs. * fix indentation. * Added test to demonstrate fixing the hang issue. Delete the monitored directory during the notification. * rewrote tests. add a small delay to better control the bug timing. * code review changes --------- Co-authored-by: Razvan Pricope <rpricope@bitdefender.com>
- Loading branch information
1 parent
5cbb589
commit 0fdb072
Showing
2 changed files
with
65 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters