Index: src/GlobalJsObject.cpp |
diff --git a/src/GlobalJsObject.cpp b/src/GlobalJsObject.cpp |
index dd417b945e43d1c6e9a33b06c6e1f2db93f81490..ab10d4df43df0be6095da3e61ac6035d4878f136 100644 |
--- a/src/GlobalJsObject.cpp |
+++ b/src/GlobalJsObject.cpp |
@@ -37,6 +37,7 @@ namespace |
{ |
public: |
TimeoutThread(JsValueList& arguments) |
+ : Thread(true) |
{ |
if (arguments.size() < 2) |
throw std::runtime_error("setTimeout requires at least 2 parameters"); |