@@ -1117,7 +1117,6 @@ static void scope_dispose(zend_async_event_t *scope_event)
11171117 }
11181118
11191119 if (scope -> scope .scope_object != NULL ) {
1120- fprintf (stderr , "unlink %p\n" , scope -> scope .scope_object );
11211120 ((async_scope_object_t * ) scope -> scope .scope_object )-> scope = NULL ;
11221121 scope -> scope .scope_object = NULL ;
11231122 }
@@ -1161,7 +1160,6 @@ zend_async_scope_t * async_new_scope(zend_async_scope_t * parent_scope, const bo
11611160
11621161 if (with_zend_object ) {
11631162 scope_object = ZEND_OBJECT_ALLOC_EX (sizeof (async_scope_object_t ), async_ce_scope );
1164- fprintf (stderr , "regular new scope_object %p\n" , scope_object );
11651163
11661164 zend_object_std_init (& scope_object -> std , async_ce_scope );
11671165 object_properties_init (& scope_object -> std , async_ce_scope );
@@ -1243,8 +1241,6 @@ static void scope_destroy(zend_object *object)
12431241 scope_object -> scope = NULL ;
12441242 scope -> scope .scope_object = NULL ;
12451243
1246- fprintf (stderr , "scope_destroy %p\n" , object );
1247-
12481244 // At this point, the user-defined Scope object is about to be destroyed.
12491245 // This means we are obligated to cancel the Scope and all its child Scopes along with their coroutines.
12501246 // However, the Scope itself will not be destroyed.
@@ -1446,7 +1442,6 @@ static zend_always_inline bool try_to_handle_exception(
14461442 // The PHP Scope object might already be destroyed by the time the internal Scope still exists.
14471443 // To normalize this situation, we’ll create a fake Scope object that will serve as a bridge.
14481444 scope_object = ZEND_OBJECT_ALLOC_EX (sizeof (async_scope_object_t ), async_ce_scope );
1449- fprintf (stderr , "new scope_object %p\n" , scope_object );
14501445 zend_object_std_init (& scope_object -> std , async_ce_scope );
14511446 object_properties_init (& scope_object -> std , async_ce_scope );
14521447
0 commit comments