Skip to content

Commit b3e583c

Browse files
committed
wip
1 parent 308dfd2 commit b3e583c

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

ext-src/php_swoole_private.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ static sw_inline int sw_zend_register_class_alias(const char *name, size_t name_
664664

665665
zend_string *_interned_name = zend_new_interned_string(_name);
666666

667-
return zend_register_class_alias_ex(ZSTR_VAL(_interned_name), ZSTR_LEN(_interned_name), ce);
667+
return zend_register_class_alias_ex(ZSTR_VAL(_interned_name), ZSTR_LEN(_interned_name), ce, 1);
668668
}
669669

670670
static sw_inline zend_object *sw_zend_create_object(zend_class_entry *ce, zend_object_handlers *handlers) {

ext-src/swoole_coroutine.cc

-2
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,6 @@ bool PHPCoroutine::interrupt_thread_running = false;
6262

6363
// extern void php_swoole_load_library();
6464

65-
static zend_atomic_bool *zend_vm_interrupt = nullptr;
66-
6765
static user_opcode_handler_t ori_exit_handler = nullptr;
6866
static user_opcode_handler_t ori_begin_silence_handler = nullptr;
6967
static user_opcode_handler_t ori_end_silence_handler = nullptr;

0 commit comments

Comments
 (0)