Commit 0d60383
committed
Stop hanging setupMCP on unclosed information message dialog.
Wraps the information message prompt in an async IIFE to avoid blocking
the main execution flow while awaiting user interaction. This ensures
the _gated_ `setupMCP` function always finished even if user does not
interact with the information message.
(#4756)1 parent ff671ed commit 0d60383
1 file changed
+10
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
168 | 170 | | |
169 | 171 | | |
170 | 172 | | |
| |||
0 commit comments