bloomDisposeActiveMount function
void
bloomDisposeActiveMount()
Disposes the currently active mounted application tracked by development hot reload, tearing down its DOM elements, disposing all reactive signal effects, and clearing the active mount handle reference.
Called automatically by the browser dev bootstrap script during DDC hot remount cycles.
Implementation
void bloomDisposeActiveMount() {
if (_activeDevMountHandle != null && !_activeDevMountHandle!.isDisposed) {
try {
_activeDevMountHandle!.dispose();
} catch (_) {}
}
_activeDevMountHandle = null;
}