diff options
| author | Gabriel Schneider <[email protected]> | 2026-10-24 14:38:19 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-24 21:00:18 -0300 |
| commit | 0d3179f04a91c942fc10b0a05cdd6b8aa958d13e (patch) | |
| tree | 2847000be687597a3a1c6963eae4b77f1cae6cf8 /src/pardes.zig | |
| parent | a87f917559e3712d36e5809d1f457fbf78c8266e (diff) | |
| download | pardes-0d3179f04a91c942fc10b0a05cdd6b8aa958d13e.tar.gz pardes-0d3179f04a91c942fc10b0a05cdd6b8aa958d13e.zip | |
anim 5: a scroll's colours are painted ahead on a worker (Stream.paintAhead), two views on the way it goes, so a page after a page parses nothing on the frame
Diffstat (limited to 'src/pardes.zig')
| -rw-r--r-- | src/pardes.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pardes.zig b/src/pardes.zig index df6d347f..9177721f 100644 --- a/src/pardes.zig +++ b/src/pardes.zig @@ -4983,6 +4983,7 @@ pub const Pardes = struct { p.pipe.deinit(gpa); p.stream.deinit(gpa); p.handover.deinit(gpa); + if (p.stream.ahead.len > 0) p.tree_sitter_gpa.free(p.stream.ahead); p.locations_cache.deinit(p.tree_sitter_gpa); p.fs.deinit(gpa); p.shell_rows.reset(gpa); |
