forked from External/mediamtx
move high-level tests into dedicate workflow (#1219)
This commit is contained in:
parent
a4363dfaa3
commit
bf14467331
28 changed files with 724 additions and 445 deletions
|
|
@ -103,7 +103,8 @@ func New(args []string) (*Core, bool) {
|
|||
return p, true
|
||||
}
|
||||
|
||||
func (p *Core) close() {
|
||||
// Close closes Core and waits for all goroutines to return.
|
||||
func (p *Core) Close() {
|
||||
p.ctxCancel()
|
||||
<-p.done
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue