sandbox docs (#698)

* sandbox docs

* format
This commit is contained in:
Chris Tate
2026-03-09 17:09:05 -05:00
committed by GitHub
parent d0651f14bc
commit c309535691
4 changed files with 163 additions and 30 deletions
+5 -3
View File
@@ -2523,9 +2523,11 @@ export class BrowserManager {
);
this.browser = null;
} else if (this.kernelSessionId) {
await this.closeKernelSession(this.kernelSessionId, this.kernelApiKey ?? undefined).catch((error) => {
console.error('Failed to close Kernel session:', error);
});
await this.closeKernelSession(this.kernelSessionId, this.kernelApiKey ?? undefined).catch(
(error) => {
console.error('Failed to close Kernel session:', error);
}
);
this.browser = null;
} else if (this.cdpEndpoint !== null) {
// CDP: only disconnect, don't close external app's pages