On Tue May 10 13:43:09 2022 +0000, Nikolay Sivov wrote:
Turns out I missed a problem with this. When queues are shut down, releasing result object reenters sample release method, and potentially destroys it. On return original call continues, and uses critical section that has been just destroyed. Attaching a possible fix for this. [2.diff](/uploads/94a959648e483587b11172a6cc34b015/2.diff)
That patch looks sensible to me. Did you actually manage to get a crash out of that?