mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -05:00
[smjs] delete first
This commit is contained in:
parent
d2bbe4cf0a
commit
079f91a344
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user