Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index e96040d95c2f36588d6ecd0488778eee679329cd..11c73b3acb382b461cb50ba7222d4a3b50483bff 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -6285,6 +6285,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; |