Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/JsEngine.cpp

Issue 9763002: Add command to initiate garbage collection (Closed)
Patch Set: Created March 11, 2013, 11:07 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « shell/src/Main.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/JsEngine.cpp
===================================================================
--- a/src/JsEngine.cpp
+++ b/src/JsEngine.cpp
@@ -73,3 +73,8 @@
const v8::String::AsciiValue ascii(result);
return *ascii;
}
+
+void AdblockPlus::JsEngine::Gc()
+{
+ while (!v8::V8::IdleNotification());
+}
« no previous file with comments | « shell/src/Main.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld