mirror of
https://github.com/tulir/gomuks.git
synced 2025-04-19 18:13:41 -05:00
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()
|
||||
|
||||
go c.Start()
|
||||
if !c.headless {
|
||||
go c.Start()
|
||||
}
|
||||
}
|
||||
|
||||
func respondHTML(w http.ResponseWriter, status int, message string) {
|
||||
|
|
Loading…
Add table
Reference in a new issue