Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ext/opcache/zend_jit: call TSRM dtor before unloading opcache.so
Commit a211956 added a TSRM destructor, but that destructor will get called by tsrm_shutdown(), which is after opcache.so has already been unloaded, resulting in a shutdown crash, e.g.: #0 0x00007fad01737500 in ?? () php#1 0x000055ac54e723c4 in tsrm_shutdown () at TSRM/TSRM.c:194 php#2 0x000055ac54c42180 in main (argc=80, argv=0x55ac57bc14d0) at sapi/cli/php_cli.c:1388 By calling ts_free_id() before opcache.so gets unloaded, we can easily fix this crash bug.
- Loading branch information