File tree Expand file tree Collapse file tree
packages/php-ext-wp-mysql-parser/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1943,14 +1943,13 @@ impl WpMySqlNativeParser {
19431943 . into_zval ( false )
19441944 . map_err ( php_error) ?;
19451945 let native_ast = native_ast ( & native_ast_zval) ?;
1946- // Install our custom `get_gc` so PHP's cycle collector can
1947- // see the cached wrappers held by the Rust-side HashMap.
1948- unsafe {
1949- let obj_ref = native_ast_zval
1950- . object ( )
1951- . ok_or_else ( || php_error ( "Native AST zval is not an object" ) ) ?;
1952- install_gc_handler_for ( ( obj_ref as * const ZendObject ) as * mut zend_object ) ;
1953- }
1946+ // GC handler install temporarily disabled to localize a CI failure.
1947+ // unsafe {
1948+ // let obj_ref = native_ast_zval
1949+ // .object()
1950+ // .ok_or_else(|| php_error("Native AST zval is not an object"))?;
1951+ // install_gc_handler_for((obj_ref as *const ZendObject) as *mut zend_object);
1952+ // }
19541953 native_ast. arena . create_php_ast ( & native_ast_zval)
19551954 } )
19561955 }
You can’t perform that action at this time.
0 commit comments