Files
effect/.changeset/overlapping-runtime-disposal.md

409 B

effect
effect
patch

Make overlapping ManagedRuntime.dispose and ManagedRuntime.disposeEffect calls wait for the disposal in progress, and make the dispose function returned by HttpEffect.toWebHandlerLayerWith (and HttpRouter.toWebHandler) return the same promise on every call. Fibers started by the runtime, their child fibers and its finalizers still return immediately when they dispose it.