You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for digging into this and it looks like that could be the issue. However, I have been retired for the last five years and no longer do any coding at all. :) Considering this is a program that runs only for a couple of seconds, is it really worth fixing? I guess causing cache flushing isn't so good.
Thanks for the kind words. It's so weird that a quick hack program I wrote on a plane is still in use.
I've debugged the handle leak in #11 and I've realized that FindClose is never called. If you place a breakpoint at this line it'll never get called:
FastFileFinder/FF/SafeFindFileHandle.cs
Line 29 in 293a072
The reason is at the time that function is called,
IsClosed
is already true, so it never enters theif
statement body.Not sure what's the best way to fix this, perhaps check for
IsInvalid
instead ofIsClosed
? Also callingSetHandleAsInvalid();
seemingly does nothing.@JohnWintellect thanks again for the great tool, I use it daily.
The text was updated successfully, but these errors were encountered: