Index: src/JsEngine.cpp |
diff --git a/src/JsEngine.cpp b/src/JsEngine.cpp |
index d9b77228053edd5c27d6f753cd0aa534c71e984a..6d7446f4192291c523b444c3e3047cfd41d81bb4 100644 |
--- a/src/JsEngine.cpp |
+++ b/src/JsEngine.cpp |
@@ -95,6 +95,12 @@ JsEngine::JsWeakValuesList::~JsWeakValuesList() |
value->Dispose(); |
} |
+void JsEngine::NotifyLowMemory() |
+{ |
+ const JsContext context(*this); |
+ v8::V8::LowMemoryNotification(); |
+} |
+ |
void JsEngine::ScheduleTimer(const v8::Arguments& arguments) |
{ |
auto jsEngine = FromArguments(arguments); |