Skip to content

Commit 3244410

Browse files
committed
Event signals now emitted on the main thread
1 parent 373492d commit 3244410

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Win32/AX-MediaPlayerWin32Impl.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ namespace AX::Video
302302
HRESULT MediaPlayer::Impl::EventNotify ( DWORD event, DWORD_PTR param1, DWORD param2 )
303303
{
304304
// @note(andrew): Make sure all signals are emitted on the main thread
305-
RunSynchronousInMainThread ( [&]
305+
app::App::get()->dispatchAsync ( [=]
306306
{
307307
switch ( event )
308308
{

0 commit comments

Comments
 (0)