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
When a download happens on one drive and the instance is on another (aka
destination), Java's move method actually copies and does not clean
up after itself. This fix causes it to detect when a file that has been
copied and deletes it.
We don't detect. If a file create event happens and we're going to move it, then we check if the file still exists (and delete it) after trying to move it. If the file was moved, it won't be there to begin with. If the file was copied, then it will be removed.
So the real issue is with Firefox's implementation. I sloppily added some code to make sure everything got where it is supposed to, but then Firefox leaves around 0KB files in the downloads folder (usually one or two depending on any file events that come in after I've closed the processing loop and finished cleaning up 0KBs).
As it stands, the fix still has stragglers, but I think I should try a short delay between the main action and the cleanup loop.
If the drive is full, this will actually cause the application to enter an infinite loop.
We need to:
The text was updated successfully, but these errors were encountered: