()
| 304 | sharedHandlePromise = null; |
| 305 | |
| 306 | const disposeCurrent = async (): Promise<void> => { |
| 307 | const handle = currentHandlePromise ? await handleOrNull(currentHandlePromise) : null; |
| 308 | if (handle) { |
| 309 | await ignorePromiseFailure("disposeExecutor", () => handle.dispose()); |
| 310 | } |
| 311 | }; |
| 312 | |
| 313 | const nextLifecycle = sharedHandleLifecycle.then(disposeCurrent, disposeCurrent); |
| 314 | sharedHandleLifecycle = nextLifecycle.then( |
nothing calls this directly
no test coverage detected