-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core: tweak runtime destruction sequence
Objects might need to be freed after the JS context is gone, so delay destroying the runtime until the very end. This is tricky, however, since it means bindings need to make sure not to use js_free but rather do js_free_rt when releasing resources late.
- Loading branch information
Showing
1 changed file
with
19 additions
and
7 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