Skip to content

Commit

Permalink
Fixed issue 2278, loop->terminated == true when restarting a loop, al…
Browse files Browse the repository at this point in the history
…lowing timer callbacks to update loop->timers in place.
  • Loading branch information
Andrew-Ellison committed Apr 5, 2024
1 parent db94044 commit 379fcbd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/zloop.c
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,7 @@ zloop_start (zloop_t *self)
{
assert (self);
int rc = 0;
self->terminated = false;

// Main reactor loop
while (!zsys_interrupted || self->nonstop) {
Expand Down

0 comments on commit 379fcbd

Please sign in to comment.