about summary refs log tree commit diff stats
path: root/src/utils/twtstr.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-02-27 17:40:33 +0100
committerbptato <nincsnevem662@gmail.com>2024-02-27 17:46:25 +0100
commit5c978a3441cec24f2ffbd11b6e6bb3e2f429aadf (patch)
tree58d62fc10188c51b95ab615952f0bd3ca9550dde /src/utils/twtstr.nim
parent29f4655f5c04eeabb07c7c27bd564e0b4ae896f5 (diff)
downloadchawan-5c978a3441cec24f2ffbd11b6e6bb3e2f429aadf.tar.gz
loader: fix early return in handleRead
Ensure that a) dead outputs do not continue to get more data from
istream and b) if all outputs are dead, istream is immediately closed.

Also, remove that pointless loop in loadStreamRegular (it did nothing
that handleRead did not).
Diffstat (limited to 'src/utils/twtstr.nim')
0 files changed, 0 insertions, 0 deletions