Force exit once inference finishes in case we are holding any connections open

This commit is contained in:
Sean Goedecke
2025-08-05 21:42:07 +00:00
parent 0cbed4a106
commit 4685e0dcd4
5 changed files with 32 additions and 7 deletions

View File

@@ -105,10 +105,12 @@ export async function run(): Promise<void> {
} else {
core.setFailed(`An unexpected error occurred: ${JSON.stringify(error, null, 2)}`)
}
// Force exit to prevent hanging on open connections
process.exit(1)
}
// Force exit to prevent hanging on open connections
process.exit(0)
}
function tempDir(): string {