# Problem code `'host-disconnected'`

> Contract 2.0.0 · package sha256 `a857eca95b35921109faf997094bb4192f12527d9d0fcd4be7e97f06425bad6e` · generated from `configurator-runtime.d.ts`, `tables/problems.json` and `services/onsite-scripter/scripts/contract-docs-what-to-do.json` by `services/onsite-scripter/scripts/build-contract-docs.mjs`; edit the source, not this file.

A member of [`ProblemCode`](../api/ProblemCode.md) · stable · since 2.0.0

`el` left the document after [`boot`](../api/boot.md), which freed the renderer for good (spec section 6.5). Recorded once, at the first later call other than [`destroy()`](../api/Session.destroy.md) and the terminal calls, so an unmount that removes the DOM and then destroys records nothing. Pending and later Promise-returning calls reject AbortError; boot `el` again for a new session.

## What to do

`el` left the document, which freed the renderer for good, and this session's Promise-returning calls reject AbortError: call [`session.destroy()`](../api/Session.destroy.md) when your page removes `el`, and [`boot`](../api/boot.md) a new session when the view comes back.

The set is open: handle a code you don't know (`'other'`).

## Recorded by

- the table row `lifecycle/operations/disconnect` (`tables/lifecycle.json`)
