Bump Onebox to 1.24.3 with current API/runtime dependencies, registry routing fixes, safer initial admin handling, and cleaner shutdown of Docker-backed resources.
This commit is contained in:
@@ -36,6 +36,23 @@ export class OneboxDockerManager {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Release resources held by the Docker API client.
|
||||
*/
|
||||
async stop(): Promise<void> {
|
||||
if (!this.dockerClient) {
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
await this.dockerClient.stop();
|
||||
} catch (error) {
|
||||
logger.error(`Failed to stop Docker client: ${getErrorMessage(error)}`);
|
||||
} finally {
|
||||
this.dockerClient = null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Ensure onebox network exists
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user