@fastgpt-sdk/sandbox-adapter 0.0.33 → 0.0.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -48279,7 +48279,7 @@ class OpenSandboxAdapter extends BaseSandboxAdapter {
|
|
|
48279
48279
|
async stop() {
|
|
48280
48280
|
try {
|
|
48281
48281
|
this._status = { state: "Stopping" };
|
|
48282
|
-
await this.sandbox.
|
|
48282
|
+
await this.sandbox.kill();
|
|
48283
48283
|
this._status = { state: "Stopped" };
|
|
48284
48284
|
} catch (error) {
|
|
48285
48285
|
const message = error instanceof import_opensandbox.SandboxException ? error.error.message : undefined;
|
package/dist/index.js
CHANGED
|
@@ -48263,7 +48263,7 @@ class OpenSandboxAdapter extends BaseSandboxAdapter {
|
|
|
48263
48263
|
async stop() {
|
|
48264
48264
|
try {
|
|
48265
48265
|
this._status = { state: "Stopping" };
|
|
48266
|
-
await this.sandbox.
|
|
48266
|
+
await this.sandbox.kill();
|
|
48267
48267
|
this._status = { state: "Stopped" };
|
|
48268
48268
|
} catch (error) {
|
|
48269
48269
|
const message = error instanceof import_opensandbox.SandboxException ? error.error.message : undefined;
|
package/package.json
CHANGED