Skip to content

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

Merged
ikatson merged 2 commits into
ikatson:mainfrom
exbit:features/release-files-on-stop
Sep 20, 2026
Merged

ikatson merged 2 commits 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!

@ikatson
ikatson enabled auto-merge (rebase) September 20, 2026 13:22
@ikatson
ikatson merged commit 193a5bd into ikatson:main Sep 20, 2026
5 checks passed
@exbit
exbit deleted the features/release-files-on-stop branch September 21, 2026 11:20
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