From 33e166fde298fcd3837bdb9b292dd2cbe1900521 Mon Sep 17 00:00:00 2001 From: Viktor Liu Date: Thu, 23 Apr 2026 19:09:00 +0200 Subject: [PATCH] Remove unused getCaptureEngine --- client/server/capture.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/client/server/capture.go b/client/server/capture.go index 68a7a4462..308c00338 100644 --- a/client/server/capture.go +++ b/client/server/capture.go @@ -304,12 +304,6 @@ func (s *Server) cleanupBundleCapture() { s.bundleCapture = nil } -func (s *Server) getCaptureEngine() (*internal.Engine, error) { - s.mutex.Lock() - defer s.mutex.Unlock() - return s.getCaptureEngineLocked() -} - // claimCapture reserves the engine's capture slot for sess. Returns // FailedPrecondition if another capture is already active. func (s *Server) claimCapture(sess *capture.Session) (*internal.Engine, error) {