Fix ecmascript model memory leak with qscxmlc generated statemachines
When models are set to statemachines with
QScxmlStateMachine::setDataModel(), the state machine does not
assume ownership of the model.
Pick-to: 6.5
Change-Id: I18e69f8c34906719b7f729eab7d46d271cfdf950
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
| commit | 64df2a22287fd824e4690272c204d77a52562f53 |
| parent | 79ecaefe775ded3f4c85106a33bc6ea9760d95e0 |
| author | Juha Vuolle <juha.vuolle@qt.io> |
| committer | Juha Vuolle <juha.vuolle@qt.io> |
| commit time | Sat, 4 Feb 2023 15:43:53 +0200 |