Fix simple SIGSEV
This commit is contained in:
committed by
=Michael Hohn
parent
8f318c114f
commit
46052cd20f
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user