Skip to content

Commit

Permalink
Fix freezing the UE editor when quitting game mode after capturing.
Browse files Browse the repository at this point in the history
The FEvent was triggered on Stop but directly reset into the waiting
state afterwards.
Removing resetting correctly terminates the thread.
  • Loading branch information
stefanbuettner committed Apr 11, 2019
1 parent 0de37e2 commit 806b428
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,6 @@ void FNVImageExporter_Thread::Stop()
{
// Trigger the event so the thread doesn't wait anymore
HavePendingImageEvent->Trigger();
HavePendingImageEvent->Reset();
}
}

Expand Down

0 comments on commit 806b428

Please sign in to comment.