1
0
Fork 0

added missing HandleScope

This commit is contained in:
Frank Celler 2013-03-22 15:15:02 +01:00
parent dfe96a0919
commit 213e5ab214
1 changed files with 1 additions and 0 deletions

View File

@ -694,6 +694,7 @@ bool ApplicationV8::prepareV8Instance (const size_t i) {
// set global flag before loading system files
if (i == 0 && ! _skipUpgrade) {
v8::HandleScope scope;
TRI_AddGlobalVariableVocbase(context->_context, "UPGRADE", v8::Boolean::New(_performUpgrade));
}