Skip to content

Commit de0f8bd

Browse files
committed
#31: + Added support for waiting on identical objects, even if they have different keys.
* fix graceful shutdown tests
1 parent dc474a7 commit de0f8bd

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

tests/edge_cases/005-scheduler_shutdown_basic.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ echo "coroutines spawned\n";
2929

3030
// Trigger graceful shutdown
3131
try {
32-
gracefulShutdown();
3332
awaitAll([$coroutine1, $coroutine2]);
3433
} catch (Throwable $e) {
3534
echo "shutdown exception: " . $e->getMessage() . "\n";

tests/edge_cases/006-scheduler_graceful_shutdown_exceptions.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ echo "coroutines spawned\n";
2929
// Trigger graceful shutdown with custom cancellation
3030
try {
3131
$cancellation = new \Async\CancellationException("Custom shutdown message");
32-
gracefulShutdown($cancellation);
3332
awaitAll([$error_coroutine, $cleanup_coroutine]);
3433
echo "graceful shutdown with custom cancellation completed\n";
3534
} catch (\Async\CancellationException $e) {

0 commit comments

Comments
 (0)