Index: src/FilterEngine.cpp |
=================================================================== |
--- a/src/FilterEngine.cpp |
+++ b/src/FilterEngine.cpp |
@@ -233,6 +233,7 @@ |
JsValueList params; |
params.push_back(jsEngine->NewValue(domain)); |
JsValueList result = func->Call(params)->AsList(); |
+ jsEngine->Gc(); |
Wladimir Palant
2013/10/08 08:12:19
This is a really bad idea, it will cause unnecessa
Felix Dahlke
2013/10/10 08:36:26
I don't think we should look into this at this poi
|
std::vector<std::string> selectors; |
for (JsValueList::iterator it = result.begin(); it != result.end(); ++it) |
selectors.push_back((*it)->AsString()); |