Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index 60ad9812c065225181b2d96425e1a1d0e256cf3b..852df70219819240179ec44d1e3793185bfab01e 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -5179,8 +5179,11 @@ class V8_EXPORT Isolate { |
* these notifications to guide the GC heuristic. Returns the number |
* of context disposals - including this one - since the last time |
* V8 had a chance to clean up. |
+ * |
+ * The optional parameter |dependant_context| specifies whether the disposed |
+ * context was depending on state from other contexts or not. |
*/ |
- int ContextDisposedNotification(); |
+ int ContextDisposedNotification(bool dependant_context = true); |
/** |
* Allows the host application to provide the address of a function that is |