Skip to content

Commit 9683812

Browse files
authored
Panic with abort() (#8590)
1 parent 016ac7c commit 9683812

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_alloc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ static ZEND_COLD ZEND_NORETURN void zend_mm_panic(const char *message)
364364
#if ZEND_DEBUG && defined(HAVE_KILL) && defined(HAVE_GETPID)
365365
kill(getpid(), SIGSEGV);
366366
#endif
367-
exit(1);
367+
abort();
368368
}
369369

370370
static ZEND_COLD ZEND_NORETURN void zend_mm_safe_error(zend_mm_heap *heap,

0 commit comments

Comments
 (0)