• src/sbbs3/js_global.c js_internal.c sbbs.h

    From Deuce@VERT to Git commit to Main/master on Monday, November 23, 2020 09:11:46
    https://gitlab.synchro.net/main/sbbs/-/commit/f09622cdab8c36639a5cc4d1
    Modified Files:
    src/sbbs3/js_global.c js_internal.c sbbs.h
    Log Message:
    Add generic on_exit support.

    Store all on_exit() strings in the global scope, execute them
    one scope at a time with scopes ordered in reverse order of
    first call to js.on_exit(). Within a scope, they are ordered
    last string first.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuce@VERT to Git commit to Main/master on Monday, November 23, 2020 09:11:46
    https://gitlab.synchro.net/main/sbbs/-/commit/f971a19bd92d70d694539999
    Modified Files:
    src/sbbs3/js_global.c js_internal.c sbbs.h
    Log Message:
    Merge branch 'on_exit-generic' into 'master'

    Add generic on_exit support.

    See merge request main/sbbs!34

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Thursday, December 14, 2023 16:39:05
    https://gitlab.synchro.net/main/sbbs/-/commit/78dc94704c48e9e7c5f2a934
    Modified Files:
    src/sbbs3/js_global.c js_internal.c sbbs.h
    Log Message:
    Don't log "symbol 'x' is not defined by script 'y'" error when terminating

    When a JS environment (e.g. server, jsexec) is terminated, it's possible
    that a require() script was being evaluated. But since termination would
    abort that evaluation, it's not unexpected if a symbol ends up not being defined before the require() script was terminated, so don't report an
    error in that case.

    Fix issue #681

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net