10 Sep
2025
10 Sep
'25
6:21 p.m.
On Tue Sep 9 07:42:22 2025 +0000, Rémi Bernon wrote:
I suspect this will need to be guarded with a critical section as multiple threads could be calling get_Current concurrently. The same would then be needed for the release, in case some thread is releasing the last factory reference while another just acquired a new reference and called get_Current. I would say that this is maybe a bit unnecessarily complicated for a stub. For simplicity you could allocate a new IMediaPlayer stub each time get_Current is called, and keep the media_player == media_player2 test as todo_wine. How's this?
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/8937#note_115595