@torrent-tv/proxy 2.107.5 → 2.107.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@torrent-tv/proxy",
3
- "version": "2.107.5",
3
+ "version": "2.107.6",
4
4
  "description": "Torrent proxy client that exposes webseed-like HTTP stream endpoint.",
5
5
  "license": "GPL-3.0-or-later",
6
6
  "repository": {
@@ -774,6 +774,14 @@ export class EncodeRun {
774
774
  if (this.#process === null || this.#ended) {
775
775
  return;
776
776
  }
777
+ // AN EXITED PROCESS IS NOT STOPPED. Its exit is being answered, and the
778
+ // answer can publish its last piece and ask the plan again, which then
779
+ // finds nothing left ahead of it. Taken as a stop, its ending took an edge
780
+ // the table does not have and the stop's age was kept as what a kill costs
781
+ // (Home Assistant 2026-10-23, torrent-tv/meta#117).
782
+ if (this.#processExited) {
783
+ return;
784
+ }
777
785
  // A cut closed before our stop stays complete; the file flushed by the
778
786
  // subsequent signal must never be published as that same proof. It is
779
787
  // waited for all the same: it says where the next keyframe's leading