Skip to content

Commit 5db1975

Browse files
committed
forgot to fix this in #621
1 parent f3d5dca commit 5db1975

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bufferflow_timedbinary.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,5 +75,5 @@ func (b *BufferflowTimedBinary) IsBufferGloballySendingBackIncomingData() bool {
7575
func (b *BufferflowTimedBinary) Close() {
7676
b.ticker.Stop()
7777
b.done <- true
78-
close(b.input)
78+
close(b.done)
7979
}

bufferflow_timedraw.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,5 +71,5 @@ func (b *BufferflowTimedRaw) OnIncomingData(data string) {
7171
func (b *BufferflowTimedRaw) Close() {
7272
b.ticker.Stop()
7373
b.done <- true
74-
close(b.input)
74+
close(b.done)
7575
}

0 commit comments

Comments
 (0)