()
| 159 | }); |
| 160 | |
| 161 | const dispose = async () => { |
| 162 | stopListening?.(); |
| 163 | stopListening = undefined; |
| 164 | settle(null); |
| 165 | await invoke("plugin:oauth|stop").catch(() => {}); |
| 166 | }; |
| 167 | |
| 168 | signal.addEventListener("abort", () => void dispose(), { once: true }); |
| 169 |
no test coverage detected