Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
doubaokun committed Dec 29, 2024
1 parent 308dfd2 commit b3e583c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion ext-src/php_swoole_private.h
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ static sw_inline int sw_zend_register_class_alias(const char *name, size_t name_

zend_string *_interned_name = zend_new_interned_string(_name);

return zend_register_class_alias_ex(ZSTR_VAL(_interned_name), ZSTR_LEN(_interned_name), ce);
return zend_register_class_alias_ex(ZSTR_VAL(_interned_name), ZSTR_LEN(_interned_name), ce, 1);
}

static sw_inline zend_object *sw_zend_create_object(zend_class_entry *ce, zend_object_handlers *handlers) {
Expand Down
2 changes: 0 additions & 2 deletions ext-src/swoole_coroutine.cc
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ bool PHPCoroutine::interrupt_thread_running = false;

// extern void php_swoole_load_library();

static zend_atomic_bool *zend_vm_interrupt = nullptr;

static user_opcode_handler_t ori_exit_handler = nullptr;
static user_opcode_handler_t ori_begin_silence_handler = nullptr;
static user_opcode_handler_t ori_end_silence_handler = nullptr;
Expand Down

0 comments on commit b3e583c

Please sign in to comment.