Skip to content

Commit 4af175a

Browse files
authored
Merge pull request #2282 from ihatechoosingusernames/fix-issue-2278
Fixed issue 2278, loop->terminated == true when restarting a loop
2 parents 24c658f + 379fcbd commit 4af175a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/zloop.c

+1
Original file line numberDiff line numberDiff line change
@@ -709,6 +709,7 @@ zloop_start (zloop_t *self)
709709
{
710710
assert (self);
711711
int rc = 0;
712+
self->terminated = false;
712713

713714
// Main reactor loop
714715
while (!zsys_interrupted || self->nonstop) {

0 commit comments

Comments
 (0)