Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
chaz6chez committed Sep 29, 2024
1 parent 87079ef commit 99e49cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Handlers/SwooleHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,5 +195,6 @@ public static function waitGroupWait(string $waitGroupId, int $timeout = -1): vo
throw new HandlerException("WaitGroup $waitGroupId not found [coroutine create]. ");
}
$waitGroup->wait($timeout);
unset(self::$_waitGroups[$waitGroupId]);
}
}
1 change: 1 addition & 0 deletions src/Handlers/SwowHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -175,5 +175,6 @@ public static function waitGroupWait(string $waitGroupId, int $timeout = -1): vo
throw new HandlerException("WaitGroup $waitGroupId not found [coroutine create]. ");
}
$waitGroup->wait($timeout);
unset(self::$_waitGroups[$waitGroupId]);
}
}

0 comments on commit 99e49cd

Please sign in to comment.