Add --install-exit-handlers to support shutdown hook + SIGTERM (#1540)
This commit is contained in:
parent
f7907be86e
commit
63102eca86
2 changed files with 2 additions and 0 deletions
|
|
@ -43,6 +43,7 @@ args=("-jar" "$BABASHKA_JAR"
|
|||
"--verbose"
|
||||
"--no-fallback"
|
||||
"--native-image-info"
|
||||
"--install-exit-handlers"
|
||||
# --trace-class-initialization=jdk.internal.net.http.common.DebugLogger,jdk.internal.net.http.websocket.WebSocketImpl,jdk.internal.net.http.common.Utils
|
||||
"$BABASHKA_XMX"
|
||||
"--enable-preview")
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@ call %GRAALVM_HOME%\bin\native-image.cmd ^
|
|||
"--verbose" ^
|
||||
"--no-fallback" ^
|
||||
"--enable-preview" ^
|
||||
"--install-exit-handlers" ^
|
||||
"%BABASHKA_XMX%"
|
||||
|
||||
if %errorlevel% neq 0 exit /b %errorlevel%
|
||||
|
|
|
|||
Loading…
Reference in a new issue