Skip to content
Snippets Groups Projects
Commit cb5188bd authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix JS global object corruption when invoking JS global hotkey handlers

As reported by Ragnarok and The Lizard Master, invoking a JS global
hot-key handler (e.g. hitting Ctrl-U or Ctrl-P with the privatemsg
or nodelist modules installed as handlers) would lead to the global
object being cleared/corrupted so other scripts would then fail to
run correctly (e.g. Error: can't open sbbsdefs.js: No such file or directory)

This probably explains the JS_GC/JS_ENDREQUEST change needed when
the hotkey-specific JS runtime/context/scope was introduced last year.
Should revisit that too.
parent 34909899
No related branches found
No related tags found
No related merge requests found
Pipeline #28 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment