Fix timer crash
This commit is contained in:
parent
513f90db3e
commit
c4c249cd7c
1 changed files with 2 additions and 1 deletions
|
|
@ -682,7 +682,8 @@ static void CALLBACK Win32TimerCallback(HWND handle, UINT message, UINT_PTR time
|
|||
auto it = Win32DisplayWindow::Timers.find(timerID);
|
||||
if (it != Win32DisplayWindow::Timers.end())
|
||||
{
|
||||
it->second();
|
||||
auto callback = it->second;
|
||||
callback();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue