Fix goroutine double lock error

This commit is contained in:
FIGBERT 2023-08-29 23:20:59 -07:00
parent 58b212913c
commit d8b1fb40dc
No known key found for this signature in database
GPG key ID: 67F1598D607A844B

View file

@ -236,7 +236,9 @@ func (c *Container) finishLogin(resp *mautrix.RespLogin) {
} }
c.config.Save() c.config.Save()
go c.Start() if !c.headless {
go c.Start()
}
} }
func respondHTML(w http.ResponseWriter, status int, message string) { func respondHTML(w http.ResponseWriter, status int, message string) {