On Mon Oct 30 21:49:29 2023 +0000, Yuxuan Shui wrote:
Wait, sorry I got things mixed up, yeah OnProcessSample is not called from Shutdown... :face_palm: Did you mean locking engine in OnProcessSample doesn't block shutdown on native? Or did you mean something else by "blocking"? Because that would be expected right? With this MR shutdown won't be blocked in that case either, just like native.
Or maybe you mean like putting an `while(true)` inside `OnProcessSample`? In that case, I guess this means either `OnProcessSample` is called without the grabber locked, or shutting down a grabber doesn't require its lock.
I think the latter is less likely, the former is achievable independent of this MR.