You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3c0147b
Browse filesBrowse the repository at this point in the historyBrowse files
xaionaro@dx.center
authored and
xaionaro@dx.center
committed
fix: use deferred mutex unlocks for panic safety
Convert HandleStore.Put and Get to use defer mu.Unlock().
Wrap sendMu-protected stream.Send calls in closures with deferred
unlock to prevent mutex leaks if Send panics.
HandleStore.Release intentionally unlocks before DeleteGlobalRef
to avoid holding the mutex during JNI work — left as-is with comment.
0 commit comments