JKISoftware / JKI-State-Machine-Objects

Object-oriented framework for LabVIEW based on the JKI State Machine
BSD 3-Clause "New" or "Revised" License
96 stars 55 forks source link

Destroy should try to Stop SMO gracefully before Abort #24

Closed jimkring closed 7 years ago

jimkring commented 7 years ago

Right now, the Destroy method will call Abort. It would be nice if it checks if the SMO is running and gracefully calls Stop before Aborting/Destroying.

francois-normandin commented 7 years ago

Destroy will try to stop the process if started, and allow up to "Process Kill timeout" delay to perform the task. The timeout value will be coerced to "0" if the timeout is infinite (-1).

image