April 22, 2026
1:24 a.m.
From: Brendan McGrath <bmcgrath@codeweavers.com> --- dlls/mf/clock.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dlls/mf/clock.c b/dlls/mf/clock.c index 219ef4384e2..f1aead0fcb5 100644 --- a/dlls/mf/clock.c +++ b/dlls/mf/clock.c @@ -974,6 +974,11 @@ static HRESULT WINAPI present_clock_shutdown_Shutdown(IMFShutdown *iface) EnterCriticalSection(&clock->cs); clock->is_shut_down = TRUE; + if (clock->key) + { + MFRemovePeriodicCallback(clock->key); + clock->key = 0; + } LeaveCriticalSection(&clock->cs); return S_OK; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/10715