1
0
Fork 0
forked from External/mediamtx

move high-level tests into dedicate workflow (#1219)

This commit is contained in:
Alessandro Ros 2022-11-02 18:25:49 +01:00 committed by GitHub
parent a4363dfaa3
commit bf14467331
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
28 changed files with 724 additions and 445 deletions

View file

@ -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
}