diff options
Diffstat (limited to 'src/leap/common/events')
-rw-r--r-- | src/leap/common/events/client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/common/events/client.py b/src/leap/common/events/client.py index 1744341..8d8d522 100644 --- a/src/leap/common/events/client.py +++ b/src/leap/common/events/client.py @@ -466,7 +466,7 @@ class EventsClientThread(threading.Thread, EventsClient): Make sure the events client thread is started. """ with self._lock: - if not self.is_alive(): + if flags.EVENTS_ENABLED and not self.is_alive(): self.daemon = True self.start() self._initialized.wait() |