forked from Mirrors/gomuks
main: don't initialize event buffer before loading config
This commit is contained in:
parent
149114354a
commit
a37a35795c
1 changed files with 1 additions and 2 deletions
|
@ -68,8 +68,7 @@ type Gomuks struct {
|
||||||
|
|
||||||
func NewGomuks() *Gomuks {
|
func NewGomuks() *Gomuks {
|
||||||
return &Gomuks{
|
return &Gomuks{
|
||||||
stopChan: make(chan struct{}),
|
stopChan: make(chan struct{}),
|
||||||
EventBuffer: NewEventBuffer(512),
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue