add shutdown thing

13 jobs for master in 2 minutes and 40 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Prepare
passed #230882
linux
mat_common

00:00:11

passed #230884
linux
mat_macos

00:00:07

passed #230883
linux
mat_windows

00:00:07

 
  Build
passed #230886
noavx2
build_linux_x32

00:02:23

passed #230885
noavx2
build_linux_x64

00:02:18

passed #230892
macos-m1
build_macos_m1

00:00:27

passed #230891
macos
build_macos_x64

00:00:35

failed #230887
noavx2
build_wasm_cjs

00:02:28

failed #230888
noavx2
build_wasm_esm

00:02:24

passed #230889
vs
build_windows_x32

00:01:04

passed #230890
vs
build_windows_x64

00:01:11

 
  Combine
skipped #230893
macos
build_macos
 
  Deploy
skipped #230894
linux
upload_to_minio
 
Name Stage Failure
failed
build_wasm_cjs Build
Linking ocgcore
em++: error: undefined exported symbol: "_exit" [-Wundefined] [-Werror]
make[1]: *** [ocgcore.make:214: bin/wasm_cjs/Release/libocgcore.cjs] Error 1
make: *** [Makefile:80: ocgcore] Error 2
make: *** Waiting for unfinished jobs....
Linking sqlite3
emcc: warning: linking a library with `-shared` will emit a static object file. This is a form of emulation to support existing build systems. If you want to build a runtime shared library use the SIDE_MODULE setting. [-Wemcc]
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1

failed
build_wasm_esm Build
Linking ocgcore
em++: error: undefined exported symbol: "_exit" [-Wundefined] [-Werror]
make[1]: *** [ocgcore.make:214: bin/wasm_esm/Release/libocgcore.mjs] Error 1
make: *** [Makefile:80: ocgcore] Error 2
make: *** Waiting for unfinished jobs....
Linking sqlite3
emcc: warning: linking a library with `-shared` will emit a static object file. This is a form of emulation to support existing build systems. If you want to build a runtime shared library use the SIDE_MODULE setting. [-Wemcc]
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1