make scheduler respond to config changes

This commit is contained in:
Jakob Ketterl
2021-02-25 22:19:05 +01:00
parent d8b3974728
commit 91c4d6f568
3 changed files with 19 additions and 9 deletions

View File

@ -303,6 +303,8 @@ class SdrSource(ABC):
return len(clients) > 0
def addClient(self, c: SdrSourceEventClient):
if c in self.clients:
return
self.clients.append(c)
c.onStateChange(self.getState())
hasUsers = self.hasClients(SdrClientClass.USER)