Fix simple SIGSEV

This commit is contained in:
Michael Hohn
2024-06-18 13:29:14 -07:00
committed by =Michael Hohn
parent 8f318c114f
commit 46052cd20f

View File

@@ -31,13 +31,13 @@ type CommanderContainer struct {
} }
func NewCommanderSingle(st *Visibles) *CommanderSingle { func NewCommanderSingle(st *Visibles) *CommanderSingle {
c := CommanderSingle{} c := CommanderSingle{v: st}
setupEndpoints(&c) setupEndpoints(&c)
return &c return &c
} }
func NewCommanderContainer(st *Visibles) *CommanderContainer { func NewCommanderContainer(st *Visibles) *CommanderContainer {
c := CommanderContainer{} c := CommanderContainer{v: st}
setupEndpoints(&c) setupEndpoints(&c)
return &c return &c
} }