-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing "in-preloading" check to
RSHUTDOWN
`RSHUTDOWN` was missing the "in-preloading" check which would lead to a situation where some profilers would collect data even though in preloading. In allocation profiling this would lead to a situation where if a customer has a custom memory handler (or uses `USE_ZEND_ALLOC=0`) the allocation profiler would crash in `allocation::alloc_prof_rshutdown()` when trying to reset the heap.
- Loading branch information
1 parent
c73b7f7
commit 1000e1c
Showing
2 changed files
with
27 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters