channel should not close on destroy
This commit is contained in:
parent
628c6a1b77
commit
fdf17cfe77
@ -99,7 +99,6 @@ func (p *Pipeline) Destroy() {
|
||||
delete(pipelines, p.id)
|
||||
pipelinesLock.Unlock()
|
||||
|
||||
close(p.Sample)
|
||||
C.free(unsafe.Pointer(p.Ctx))
|
||||
p = nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user