Skip to content

Commit 59c9771

Browse files
committed
fix: update basic-host to use teardownResource
1 parent b2a35bb commit 59c9771

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/basic-host/src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ function AppIFramePanel({ toolCallInfo, isDestroying, onTeardownComplete }: AppI
289289
}
290290

291291
log.info("Sending teardown notification to MCP App");
292-
appBridgeRef.current.resourceTeardown({})
292+
appBridgeRef.current.teardownResource({})
293293
.catch((err) => {
294294
log.warn("Teardown request failed (app may have already closed):", err);
295295
})

0 commit comments

Comments
 (0)