()
| 315 | sharedHandlePromise = null; |
| 316 | |
| 317 | const disposeCurrent = async (): Promise<void> => { |
| 318 | const handle = currentHandlePromise ? await handleOrNull(currentHandlePromise) : null; |
| 319 | if (handle) { |
| 320 | await ignorePromiseFailure("disposeExecutor", () => handle.dispose()); |
| 321 | } |
| 322 | }; |
| 323 | |
| 324 | const nextLifecycle = sharedHandleLifecycle.then(disposeCurrent, disposeCurrent); |
| 325 | sharedHandleLifecycle = nextLifecycle.then( |
nothing calls this directly
no test coverage detected