mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-07-18 06:06:06 -04:00
Some list improvements
This commit is contained in:
@@ -369,8 +369,9 @@ class Session(object):
|
||||
|
||||
def remove_stream(self, stream):
|
||||
if stream == "timelinesStream":
|
||||
self.timelinesStream.disconnect()
|
||||
del self.timelinesStream
|
||||
if hasattr(self, "timelinesStream"):
|
||||
self.timelinesStream.disconnect()
|
||||
del self.timelinesStream
|
||||
else:
|
||||
self.main_stream.disconnect()
|
||||
del self.main_stream
|
||||
|
Reference in New Issue
Block a user