ZlpIOHelper FindFirstFile handles are not being closed


Several methods in ZlpIOHelper.cs call PInvokeHelper.FindFirstFile and are not closing a valid find handle.
As a result, folders which were searched cannot be moved or deleted until the process has closed.


icnocop wrote May 3, 2012 at 9:04 PM

Zeta Long Paths v1.0.0.3 (Release 2011-10-11)

I only noticed that .\Runtime\Native\PInvokeHelper.cs.FindFilesAndDirectories(...) does not wrap a try\catch around FindFirstFile like all the other calls.

But I also noticed that directories used with ZLP get locked and don't always get unlocked even after the program exists, but we would have to debug the issue in more detail.

wrote Feb 14, 2013 at 2:38 AM