mirror of
https://github.com/FluxaMedia/fluxa-core.git
synced 2026-08-14 03:13:23 +00:00
start_torrent_server is a process-wide singleton that fully tears down and recreates the engine on every play. A stop invoked for an old session could race a fast replay's start and land after the new session was already up, silently killing the just-started server and leaving mpv with a dead socket (MPV_ERROR_LOADING_FAILED / "Loading failed" on the same torrent). Each server generation is now tagged; stop is a no-op unless it targets the currently active generation. |
||
|---|---|---|
| .. | ||
| src | ||
| .env.example | ||
| Cargo.lock | ||
| Cargo.toml | ||