Skip to content

Commit

Permalink
Fix #407
Browse files Browse the repository at this point in the history
  • Loading branch information
aurelienpierre committed Jan 17, 2025
1 parent b37b3d6 commit 9fee70d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/develop/pixelpipe_hb.c
Original file line number Diff line number Diff line change
Expand Up @@ -2423,7 +2423,9 @@ restart:;
// ... and in case of other errors ...
if(err)
{
pipe->status = DT_DEV_PIXELPIPE_INVALID;
// If the pipe returned because the killswitch was triggered, consir it unfinished.
// Then the main loop will attempt it again.
pipe->status = (dt_atomic_get_int(&pipe->shutdown)) ? DT_DEV_PIXELPIPE_DIRTY : DT_DEV_PIXELPIPE_INVALID;
return 1;
}

Expand Down

0 comments on commit 9fee70d

Please sign in to comment.