JKISoftware / JKI-State-Machine-Objects

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

onStopped override should be forced to call parent #41

Closed gcodetechnology closed 7 years ago

gcodetechnology commented 7 years ago

If the parent onStopped method is not called, the state of the SMO is never set to stopped. As a result, an SMO will try to be stopped twice. Errors will likely bet generated on the second attempt since references have already been destroyed.

francois-normandin commented 7 years ago

[Fix: 41] onStopped, onStarted and onProcessStopped methods must require overrides to call parent. Will be available in 1.3.0

francois-normandin commented 7 years ago

fixed in 1.3.0