Fix data race on task refcount in psync_task_free (#377)

Acquire mutex before reading tm->refcnt to prevent race with
psync_task_dec_refcnt(). Fixes ThreadSanitizer warning.

Fixes #332

Co-authored-by: Levi Neely <lkn@darkstar.example.net>
This commit is contained in:
Levi Neely 2026-03-10 15:26:02 +01:00 committed by GitHub
parent 82f56490b9
commit 427d1c51fe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

Diff Content Not Available