about summary refs log tree commit diff stats
path: root/src/loader/headers.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-03-27 16:13:05 +0100
committerbptato <nincsnevem662@gmail.com>2024-03-27 16:13:05 +0100
commit0aeb7c100c5708256c5c762e6b1587460a35c4a4 (patch)
tree0d3b9b11dc3652740b19ab263b33867bea621b0a /src/loader/headers.nim
parent260cfd57fba47acd18a26770027afbd4432674f9 (diff)
downloadchawan-0aeb7c100c5708256c5c762e6b1587460a35c4a4.tar.gz
buffer: fix cancel()
* fix mismatch between return value & read value that would either crash
  or freeze the browser depending on its mood
* add an assertion to detect the above footgun
* fix some resource leaks
* fix iteration over a table that called a function which altered the
  table in buffer's cancel()
* if user cancels before anything is loaded, destroy the container too
Diffstat (limited to 'src/loader/headers.nim')
0 files changed, 0 insertions, 0 deletions