channel should not close on destroy
This commit is contained in:
parent
628c6a1b77
commit
fdf17cfe77
1 changed files with 0 additions and 1 deletions
|
|
@ -99,7 +99,6 @@ func (p *Pipeline) Destroy() {
|
||||||
delete(pipelines, p.id)
|
delete(pipelines, p.id)
|
||||||
pipelinesLock.Unlock()
|
pipelinesLock.Unlock()
|
||||||
|
|
||||||
close(p.Sample)
|
|
||||||
C.free(unsafe.Pointer(p.Ctx))
|
C.free(unsafe.Pointer(p.Ctx))
|
||||||
p = nil
|
p = nil
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue