Skip to content

Commit

Permalink
fix sync obj's handler
Browse files Browse the repository at this point in the history
  • Loading branch information
realFlowControl committed Apr 25, 2024
1 parent 9efc662 commit 4426b4e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/copy.c
Original file line number Diff line number Diff line change
Expand Up @@ -650,6 +650,7 @@ static zend_always_inline zend_object* php_parallel_copy_sync_thread(zend_object
GC_DEL_FLAGS(&dest->std, GC_IMMUTABLE);

zend_object_std_init(&dest->std, dest->std.ce);
dest->std.handlers = source->handlers;

dest->sync = php_parallel_sync_copy(object->sync);

Expand Down

0 comments on commit 4426b4e

Please sign in to comment.