Skip to content

Commit

Permalink
renderer: added another cancelled check
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmattkc committed Nov 29, 2020
1 parent 97afae9 commit c9323b9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/render/renderprocessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ void RenderProcessor::Run()

ticket_->Start();

if (ticket_->WasCancelled()) {
return;
}

switch (type) {
case RenderManager::kTypeVideo:
{
Expand Down

0 comments on commit c9323b9

Please sign in to comment.