mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
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)
|
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 New Issue
Block a user