()
| 151 | let settled = false |
| 152 | |
| 153 | const cleanup = () => { |
| 154 | clearTimeout(timeoutId) |
| 155 | host.off("extensionWebviewMessage", onMessage) |
| 156 | offError() |
| 157 | } |
| 158 | |
| 159 | const finish = (fn: () => void) => { |
| 160 | if (settled) return |
no test coverage detected