diff --git a/src/routes/run-code.ts b/src/routes/run-code.ts index 1ec7fe4..b9994e1 100644 --- a/src/routes/run-code.ts +++ b/src/routes/run-code.ts @@ -89,6 +89,7 @@ export async function runCode(request: Request, response: Response) { } finally { try { // prevent memory leaks + await container.kill(); await container.stop(); await container.remove(); } catch (e) {}