FFMG / myoddweb.directorywatcher

A fast and reliable, (non blocking!), .NET/C++ File/Directory watcher, complete rewrite of FileSystemWatcher to ensure speed/accuracy/reliability/suppress duplicate events.
MIT License
49 stars 12 forks source link

Changes in a root directory cause crash (Access violation) #16

Closed PetrP9 closed 4 years ago

PetrP9 commented 4 years ago

This code replicates the problem: Watcher watch= new Watcher(); watch.Add(new Request(@"C:\", true)); watch.Start();

When I make changes in the C:\ directory, the application randomly crash. The fastest way to replicate the problem is renaming some folder in the root directory. Usually it takes some time. Sometimes it needs 50 or more renames. I tried it on two different computers and crashed on both.

Please take a look at it

FFMG commented 4 years ago

Hi, This was fixed in the develop branch, I am running a couple of tests on my side and I will release the update Thanks for reporting it.

FFMG commented 4 years ago

Hi,

This issue was fixed in 0.1.9. Please let me know if you are still having issues, (please open a new ticket if you are having a new issue)

Thanks

PetrP9 commented 4 years ago

Hi,

It looks like it works fine now

Thank you!