Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index e5bcd24bd7b7ff4238a5266ea038d3d2ad9c68e0..4a9c21148019b5b0522f49bfc30ed3895bf4b198 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -7793,6 +7793,12 @@ void Isolate::VisitExternalResources(ExternalResourceVisitor* visitor) { |
} |
+bool Isolate::IsInUse() { |
+ i::Isolate* isolate = reinterpret_cast<i::Isolate*>(this); |
+ return isolate->IsInUse(); |
+} |
+ |
+ |
class VisitorAdapter : public i::ObjectVisitor { |
public: |
explicit VisitorAdapter(PersistentHandleVisitor* visitor) |