termination mechanism integrated
This commit is contained in:
@@ -15,9 +15,11 @@ class MqttEventPublisher(AbstractMqttPublisher):
|
||||
self.disableAnalogInputEventPublishing = self.config["disableAnalogInputEventPublishing"].lower() in [ "true", "on" ]
|
||||
|
||||
def localLoop(self):
|
||||
while True:
|
||||
while not self.killBill:
|
||||
with self.processImage:
|
||||
self.processImage.wait()
|
||||
if self.killBill:
|
||||
continue
|
||||
|
||||
discreteInputChangeset = self.processImage.getChangedDiscreteInputs()
|
||||
if not self.disableAnalogInputEventPublishing:
|
||||
|
||||
Reference in New Issue
Block a user