Check if a transcode process is running also to determine if we should close sockets.

This commit is contained in:
SergeantPanda 2025-07-01 10:27:24 -05:00
parent 5ff474d322
commit 2b97a958cd

View file

@ -768,7 +768,7 @@ class StreamManager:
def _close_all_connections(self):
"""Close all connection resources"""
if self.socket:
if self.socket or self.transcode_process:
try:
self._close_socket()
except Exception as e: