> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nanoforge.eu/llms.txt
> Use this file to discover all available pages before exploring further.

# ClearContext class

> Context passed to a library's clear lifecycle hook during application shutdown.

import { PageLink } from '/snippets/tsdocs/PageLink.jsx';
import { RefLink } from '/snippets/tsdocs/RefLink.jsx';

# ClearContext

## Summary

Context passed to a library's `__clear` lifecycle hook during application shutdown.

## Signature

```typescript theme={null}
declare class ClearContext extends BaseContext 
```

## Remarks

Use the inherited `application` and `libraries` accessors to access shared state and other libraries while tearing down resources.
