mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-01-23 10:45:27 +00:00
Check if a transcode process is running also to determine if we should close sockets.
This commit is contained in:
parent
5ff474d322
commit
2b97a958cd
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue