forked from Mirrors/gomuks
Fix goroutine double lock error
This commit is contained in:
parent
58b212913c
commit
d8b1fb40dc
1 changed files with 3 additions and 1 deletions
|
@ -236,7 +236,9 @@ func (c *Container) finishLogin(resp *mautrix.RespLogin) {
|
||||||
}
|
}
|
||||||
c.config.Save()
|
c.config.Save()
|
||||||
|
|
||||||
|
if !c.headless {
|
||||||
go c.Start()
|
go c.Start()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func respondHTML(w http.ResponseWriter, status int, message string) {
|
func respondHTML(w http.ResponseWriter, status int, message string) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue