This repository has been archived by the owner on Oct 15, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 342
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chakrashim: allow Persistent::Reset after V8::Dispose
Some addons use global static Persistent to hold references. ~Persistent() and Persistent::Reset() are called at process exit when the runtime has already been disposed. Add a global g_disposed flag to record V8::Dispose()/V8::IsDead() state. Make Persistent::Reset() no-op if V8::IsDead(). This allows above scenario. PR-URL: #33 Reviewed-By: Sandeep Agarwal <Agarwal.Sandeep@microsoft.com>
- Loading branch information
Jianchun Xu
committed
Mar 3, 2016
1 parent
fc3cf3e
commit 9e23f00
Showing
2 changed files
with
7 additions
and
3 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