Skip to main content

memory-safety

Sterne12
Forks5
Aktualisiert7. Juli 2026 um 15:34

Memory-leak prevention for DaxAlgo Terminal's WPF windows, charts, tools, and live strategies — the unbounded-channel / per-item-UI-marshal / per-redraw-allocation patterns that ballooned the Volume Footprint window to 20 GB, plus the bounded-channel + batch-drain + coalesced-render fixes and the close-time teardown checklist. Use WHENEVER adding or editing a tool/chart/strategy/AI window, any view-model that consumes IMarketDataHub/Channel/IAsyncEnumerable/IObservable, anything with a DispatcherTimer or a redraw/OnRender path, or when diagnosing climbing RAM / a window that doesn't release memory after closing. Load it before writing streaming UI code, not after the leak.

Installation

Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.

SKILL.md
readonly