diff options
Diffstat (limited to 'content/handlers')
-rw-r--r-- | content/handlers/javascript/duktape/Console.bnd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/handlers/javascript/duktape/Console.bnd b/content/handlers/javascript/duktape/Console.bnd index fcf6ee83d..74601d6d4 100644 --- a/content/handlers/javascript/duktape/Console.bnd +++ b/content/handlers/javascript/duktape/Console.bnd @@ -51,7 +51,7 @@ write_log_entry(duk_context *ctx, unsigned int group, browser_window_console_fla duk_size_t msglen; const char *msg = duk_safe_to_lstring(ctx, 0, &msglen); - if (priv_win == NULL || priv_win->win == NULL || + if (priv_win == NULL || priv_win->win == NULL || priv_win->closed_down == true || browser_window_console_log(priv_win->win, BW_CS_SCRIPT_CONSOLE, msg, msglen, flags) != NSERROR_OK) { |