Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"File in use" uncaught exception during torrent piece check #2

Open
bmn opened this issue Oct 21, 2022 · 0 comments
Open

"File in use" uncaught exception during torrent piece check #2

bmn opened this issue Oct 21, 2022 · 0 comments

Comments

@bmn
Copy link

bmn commented Oct 21, 2022

When running Link to Torrent > Check Pieces, LL will crash silently if one of the data files is in use.

I got this when I had a torrent application open, seeding from one folder of hardlinked data and also downloading to a folder that had previously been initialised with Link to Torrent (don't know whether one or both was responsible).

Occurs at

byte[] fileBytes = File.ReadAllBytes(Path.Combine(dbDir, iQ.Single().HashedFileName));

Error:

System.IO.IOException: 'The process cannot access the file 'path\to\LinkleLink\db\E13CAB130F2C395C5306219DC4D4E6F0.ifs' because it is being used by another process.'

@bmn bmn changed the title "File in use" crash during torrent piece check "File in use" uncaught exception during torrent piece check Oct 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant