Skip to content

Reassociate timed triggers after instrument resets #13

@amcmahon01

Description

@amcmahon01

Description

Currently, if a timed trigger is running and an instrument is reset, the timer continues running and as a result the old instrument object continues to exist since there is still an active reference to it. This results in both instrument objects attempting to run simultaneously and the original timed trigger cannot be stopped.

Possible Implementation

Timed trigger objects should be stopped and destroyed during instrument reset so that the instrument object can be properly destroyed without lingering references. Optionally, the status of the timer (running or not) could be transferred to the new object, but given that some instruments need manual initialization, this is probably best done manually.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions