summaryrefslogtreecommitdiff
path: root/lib/streamio/runescanner.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2023-04-13 13:18:28 -0600
committerLuke Shumaker <lukeshu@lukeshu.com>2023-04-13 13:18:28 -0600
commitf37ad3c90dab9b77e7c2796e963f5992458ad4a4 (patch)
tree631f9de458b9b91b02fe07e2a812233a3ac20520 /lib/streamio/runescanner.go
parentc262f37c6a0ba64d39414b45fd54d172c50762c8 (diff)
parent7726e27f3b79e031fe9a9ea9504dea5df0327e02 (diff)
Merge branch 'lukeshu/fixes'
Diffstat (limited to 'lib/streamio/runescanner.go')
-rw-r--r--lib/streamio/runescanner.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/streamio/runescanner.go b/lib/streamio/runescanner.go
index 203439f..1206522 100644
--- a/lib/streamio/runescanner.go
+++ b/lib/streamio/runescanner.go
@@ -103,6 +103,7 @@ func (rs *runeScanner) UnreadRune() error {
// ReadRune implements io.Closer.
func (rs *runeScanner) Close() error {
+ rs.progressWriter.Set(rs.progress)
rs.progressWriter.Done()
return rs.closer.Close()
}