()
| 334 | sharedHandlePromise = null; |
| 335 | |
| 336 | const disposeCurrent = async (): Promise<void> => { |
| 337 | const handle = currentHandlePromise ? await handleOrNull(currentHandlePromise) : null; |
| 338 | if (handle) { |
| 339 | await ignorePromiseFailure("disposeExecutor", () => handle.dispose()); |
| 340 | } |
| 341 | }; |
| 342 | |
| 343 | const nextLifecycle = sharedHandleLifecycle.then(disposeCurrent, disposeCurrent); |
| 344 | sharedHandleLifecycle = nextLifecycle.then( |
nothing calls this directly
no test coverage detected