Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index 83b777d30948104bec43ba3c9926cd68ff637690..18a3892f74fc6bf6801c26fecaebb89b505d5f8d 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -6296,6 +6296,12 @@ class V8_EXPORT Isolate { |
*/ |
void VisitWeakHandles(PersistentHandleVisitor* visitor); |
+ /** |
+ * Check if this isolate is in use. |
+ * True if at least one thread Enter'ed this isolate. |
+ */ |
+ bool IsInUse(); |
+ |
private: |
template <class K, class V, class Traits> |
friend class PersistentValueMapBase; |