Skip to content

Commit

Permalink
Do not make ProcessEvent call in gc-free zone. For #641
Browse files Browse the repository at this point in the history
  • Loading branch information
hughsando committed Aug 18, 2019
1 parent e0af9cd commit c9027e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions project/src/sdl2/SDL2Stage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2334,6 +2334,7 @@ void StartAnimation()
AutoGCBlocking block;
if (sgSDLFrame->mStage->BuildCache())
{
block.Close();
Event redraw(etRedraw);
sgSDLFrame->ProcessEvent(redraw);
}
Expand Down

0 comments on commit c9027e4

Please sign in to comment.