Skip to content

Commit

Permalink
Merge pull request #2282 from ihatechoosingusernames/fix-issue-2278
Browse files Browse the repository at this point in the history
Fixed issue 2278, loop->terminated == true when restarting a loop
  • Loading branch information
sphaero authored Apr 12, 2024
2 parents 24c658f + 379fcbd commit 4af175a
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 4af175a

Please sign in to comment.