Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
src: fix DTrace GC callbacks DCHECKs and add cleanup
Use the variant of GC callbacks that takes data to avoid running into DCHECKs when multiple Environments try to add the same callback to the same isolate multiple times. In addition, remove the callbacks in the Environment cleanup hook. PR-URL: #26742 Fixes: #26736 Reviewed-By: Matheus Marchini <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]>
- Loading branch information