fix(android): retire mpv sessions without blocking hook callbacks

This commit is contained in:
edde746
2026-09-06 19:11:25 +02:00
parent 908ccbb233
commit 99f4fda55a
9 changed files with 648 additions and 36 deletions
+2 -1
View File
@@ -11,7 +11,8 @@
// starts (event_thread_bind). Kotlin drops a callback whose session is not
// the wrapper it published for, so a retiring core's tail — end-file,
// property changes, a hook raised just before teardown — can never be read
// as the successor's.
// as the successor's. L keeps this binding immutable through join, including
// the interval after admission is revoked; callbacks never acquire L.
static mpv_handle* thread_mpv;
static uint64_t thread_session;