Skip to content

v1.1.2

Choose a tag to compare

@bfrancojr bfrancojr released this 16 Oct 21:54
· 709 commits to main since this release

Fixes a memory leak that every app had: content removed from a window was
never freed. Also makes the slider's value indicator keep up while dragging.
The x/* modules are re-released at v1.1.2 unchanged, and the bellui
command is released alongside as cmd/bellui v1.0.1 (see
cmd/bellui/CHANGELOG.md).

Fixed

  • Memory leak: content removed from a window stayed in memory for the
    window's lifetime
    (#380).
    The canvas kept a lookup from every object it had ever drawn to its render
    node and never removed entries, so a replaced page — with all its data —
    could not be collected. In the gallery, every page visit kept about 8 MB;
    in the browser this grew past 1 GB in minutes and Android closed the tab.
    Entries for objects the latest layout pass no longer reaches are now
    dropped.
  • Slider: the value indicator keeps up while dragging. It was rebuilt
    for every drag event, replacing the popup and restarting its fade-in each
    time, so it lagged behind the thumb. It is now built once per drag and
    updated in place.

Install the command with go install github.com/belluikit/bellui/cmd/bellui@v1.0.1.