Install OperationCallback for all executed JS scripts
JS doors with the "Use Shell or New Context" option enabled in SCFG and JS modules installed a global hot key handlers would not automatically terminate when the user disconnected (and js.auto_terminate was true, the default). I'm not sure why the operation callback was only installed when scope==NULL but always installing it fixes the issue with some global hot key modules and JS doors becoming "zombies" when a user disconnects while running them.
Status | Job ID | Name | Coverage | ||||||
---|---|---|---|---|---|---|---|---|---|
Build | |||||||||
passed |
#34493
FreeBSD
|
jsdoor-freebsd |
00:03:50
|
|
|||||
passed |
#34494
Linux
|
jsdoor-linux |
00:06:46
|
|
|||||
passed |
#34496
FreeBSD
|
jsdoor-windows |
00:01:53
|
|
|||||
passed |
#34488
FreeBSD
|
sbbs-freebsd |
00:05:33
|
|
|||||
passed |
#34483
Linux
|
sbbs-linux |
00:09:35
|
|
|||||
passed |
#34486
Windows
|
sbbs-windows |
00:04:52
|
|
|||||
passed |
#34495
FreeBSD
|
sexpots-freebsd |
00:00:10
|
|
|||||
passed |
#34484
Linux
|
sexpots-linux |
00:00:17
|
|
|||||
passed |
#34487
Windows
|
sexpots-windows |
00:00:22
|
|
|||||
passed |
#34491
FreeBSD
|
syncdraw-freebsd |
00:00:23
|
|
|||||
passed |
#34492
Linux
|
syncdraw-linux |
00:00:57
|
|
|||||
passed |
#34489
FreeBSD
|
syncterm-freebsd |
00:01:11
|
|
|||||
passed |
#34485
Linux
|
syncterm-linux |
00:02:40
|
|
|||||
passed |
#34490
FreeBSD
|
syncterm-windows |
00:01:50
|
|
|||||