26 Oct
2023
26 Oct
'23
2:21 p.m.
During engine shutdown we acquire engine lock first, then locks of its constituents (e.g. sample grabbers); whereas normally the order is the other way around (e.g. timer callback -> acquire sample grabber lock -> OnProcessSample callback -> engine lock). This is deadlock prone. With this commit, engine lock is released before we shutdown the inner media session. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4187