• src/sbbs3/exec.cpp inkey.cpp sbbs.h

    From Rob Swindell@1:103/705 to Git commit to sbbs/master on Sun Aug 30 04:12:37 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/cb5188bdc2d09df16d8bfecd
    Modified Files:
    src/sbbs3/exec.cpp inkey.cpp sbbs.h
    Log Message:
    Fix JS global object corruption when invoking JS global hotkey handlersAs reported by Ragnarok and The Lizard Master, invoking a JS globalhot-key handler
    (e.g. hitting Ctrl-U or Ctrl-P with the privatemsgor nodelist modules installed
    as handlers) would lead to the globalobject being cleared/corrupted so other scripts would then fail torun correctly (e.g. Error: can't open sbbsdefs.js: No
    such file or directory)This probably explains the JS_GC/JS_ENDREQUEST change needed whenthe hotkey-specific JS runtime/context/scope was introduced last year.Should revisit that too.
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)