mirror of
https://github.com/Monibuca/engine.git
synced 2025-10-14 20:55:44 +08:00
fix: change tracks to sync.Map to void dead lock
This commit is contained in:
@@ -109,7 +109,7 @@ func (p *Push) AddPush(url string, streamPath string) {
|
||||
if p.PushList == nil {
|
||||
p.PushList = make(map[string]string)
|
||||
}
|
||||
p.PushList[url] = streamPath
|
||||
p.PushList[streamPath] = url
|
||||
}
|
||||
|
||||
type Console struct {
|
||||
|
Reference in New Issue
Block a user