mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-04-29 03:55:53 +00:00
null check for "self.ws"
This commit is contained in:
parent
d9a6507fe6
commit
28c242d82c
@ -158,7 +158,8 @@ class NiconicoLiveFD(FragmentFD):
|
|||||||
yield self
|
yield self
|
||||||
finally:
|
finally:
|
||||||
stopped.set()
|
stopped.set()
|
||||||
self.ws.close()
|
if self.ws:
|
||||||
|
self.ws.close()
|
||||||
thread.join()
|
thread.join()
|
||||||
|
|
||||||
def _master_m3u8_url(self):
|
def _master_m3u8_url(self):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user