added clear_vars
This commit is contained in:
1 parent
776884ce35
commit
598705ed74
1 file changed
+3
@@ -114,6 +114,9 @@ class BSCache:
|
||||
del self.channels[name]
|
||||
self.start()
|
||||
|
||||
def clear_vars(self):
|
||||
self.stop()
|
||||
self.channels.clear()
|
||||
|
||||
def flush(self):
|
||||
self.pt.queue.clear()
|
||||
|
||||
Reference in new issue
Block a user