diff --git a/src/ecmascript/ecmascript.c b/src/ecmascript/ecmascript.c index 0ef64f70f..599443c0e 100644 --- a/src/ecmascript/ecmascript.c +++ b/src/ecmascript/ecmascript.c @@ -150,6 +150,7 @@ ecmascript_put_interpreter(struct ecmascript_interpreter *interpreter) if (interpreter->vs->doc_view) kill_timer(&interpreter->vs->doc_view->document->timeout); interpreter->vs->ecmascript = NULL; + interpreter->vs->ecmascript_fragile = 1; mem_free(interpreter); }