-
Bug
-
Resolution: Unresolved
-
P4: Low
-
None
-
5.7, 5.15.0
-
None
TrafficLight statechart from https://doc.qt.io/qt-5/qtscxml-trafficlight-qml-dynamic-example.html generate inner delayed events such as 'blink' or 'unblink' by using SCXML element send. But these delayed events are never cancelled with element cancel and it may lead timeouts to be broken.
Steps to reproduce:
- Start exmple
- Submit 'smash', 'repair', 'smash', 'repair' events for multiple times with small interval ~100ms.
Expected and result:
Transition time between states 'blinking' and 'unblinking' is expected to be ~1s but in result it will vary from 0 to 1s because uncancelled (unterminated) previous events will be executed.