Uploaded image for project: 'Instrument control development'
  1. Instrument control development
  2. INSTRM-603

actor statusLoop are not stopped correctly

    XMLWordPrintable

    Details

    • Story Points:
      1
    • Sprint:
      2019 C

      Description

      As for now, an infinite number of status loop can be created.

       

      running = self.monitors[controller] > 0
      if (not running) and period > 0:
          self.statusLoopCB(controller)

       

      If the monitoring period is set to 0 and then set back to a value before the statusLoop is called, two loops stay alive.

      One solution would be to cancel the job if the monitoring period is set to 0 
      callID = reactor.callLater(5, f)callID.cancel()

        Attachments

          Activity

            People

            • Assignee:
              arnaud.lefur arnaud.lefur
              Reporter:
              arnaud.lefur arnaud.lefur
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: