From fdf17cfe775782e04503c0241ade355b1b955c86 Mon Sep 17 00:00:00 2001 From: mbattista Date: Sun, 29 Jan 2023 19:39:19 +0100 Subject: [PATCH] channel should not close on destroy --- server/internal/capture/gst/gst.go | 1 - 1 file changed, 1 deletion(-) diff --git a/server/internal/capture/gst/gst.go b/server/internal/capture/gst/gst.go index 59646ba..5bb4cf0 100644 --- a/server/internal/capture/gst/gst.go +++ b/server/internal/capture/gst/gst.go @@ -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 }