Skip to content

feat: release file handles when a torrent is paused or stopped - #621

Open
exbit wants to merge 1 commit into
ikatson:mainfrom
exbit:features/release-files-on-stop
Open

feat: release file handles when a torrent is paused or stopped#621
exbit wants to merge 1 commit into
ikatson:mainfrom
exbit:features/release-files-on-stop

Conversation

@exbit

@exbit exbit commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

Adds a release_files() storage hook that closes OS file handles on pause (including a pause during the initial check), so files can be moved/updated/deleted while the torrent stays registered. Pausing an already-paused torrent now re-releases handles instead of failing.

@exbit

exbit commented Jul 16, 2026

Copy link
Copy Markdown
Contributor Author

@ikatson Hi, could you take a look?

@ikatson

ikatson commented Jul 17, 2026

Copy link
Copy Markdown
Owner

Hey @exbit, the code and change look good, I want to check manually before merging. Will merge once I confirm

Sorry for delay!

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

Successfully merging this pull request may close these issues.

2 participants