dokan-dev / dokany

User mode file system library for windows with FUSE Wrapper
http://dokan-dev.github.io
5.21k stars 661 forks source link

Silence false communication error after `DokanCloseHandle` #1040

Closed Liryna closed 2 years ago

Liryna commented 2 years ago

When DokanCloseHandle is called, the communication will legitly fail. Therefore we should not be printing those errors.

Dokan Error: Dokan device result ioctl failed for wait with code 433.
Dokan Fatal: Closing IO processing for dokan instance
\Volume{d6cc17c5-1732-4085-bce7-964f1e9f5de9} with error code 0x1b1 and
unmounting volume.

A flag could be added in the DokanInstance to inform the unmount is in process and use it to silence such expected errors.