Commit fc87ef5
fix(kotlin-host): reduce teardown timeout from 3s to 500ms with polling
Changed from a fixed 3-second delay to polling every 50ms with a 500ms
max timeout. This makes card dismissal feel much snappier while still
giving apps time to respond to teardown requests.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 80cf7d9 commit fc87ef5
File tree
1 file changed
+7
-3
lines changed- examples/basic-host-kotlin/src/main/kotlin/com/example/mcpappshost
1 file changed
+7
-3
lines changedLines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
426 | 426 | | |
427 | 427 | | |
428 | 428 | | |
429 | | - | |
430 | | - | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
431 | 435 | | |
432 | | - | |
| 436 | + | |
433 | 437 | | |
434 | 438 | | |
435 | 439 | | |
| |||
0 commit comments