Skip to content

Commit

Permalink
Fix uninitialised lists
Browse files Browse the repository at this point in the history
  • Loading branch information
driskell committed Apr 30, 2020
1 parent 5330267 commit ff4c653
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lc-lib/endpoint/sink.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ func NewSink(config *config.Network) *Sink {
timeoutTimer: time.NewTimer(1 * time.Second),
}

ret.timeoutList.Init()
ret.readyList.Init()
ret.failedList.Init()
ret.orderedList.Init()

ret.timeoutTimer.Stop()

return ret
Expand Down

0 comments on commit ff4c653

Please sign in to comment.