1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-27 02:56:18 -04:00

[smjs] delete first

This commit is contained in:
Witold Filipczyk 2023-01-20 18:09:00 +01:00
parent d2bbe4cf0a
commit 079f91a344

View File

@ -177,8 +177,8 @@ cleanup_smjs(struct module *module)
* have to call smjs_detach_cache_entry_object on each cache
* entry before it releases the runtime here. */
//JS_DestroyContext(smjs_ctx);
spidermonkey_runtime_release();
delete smjs_global_object;
spidermonkey_runtime_release();
}
/** Convert a UTF-8 string to a JSString.