smartdevicelink / sdl_core

SmartDeviceLink In-Vehicle Software and Sample HMI
BSD 3-Clause "New" or "Revised" License
241 stars 244 forks source link

Clear Parent Reference to Begin State When it is Erased #3769

Closed iCollin closed 3 years ago

iCollin commented 3 years ago

Fixes https://github.com/smartdevicelink/sdl_core/issues/3768

This PR is ready for review.

Risk

This PR makes no API changes.

Testing Plan

Issue Reproduction Steps https://github.com/smartdevicelink/sdl_atf_test_scripts/pull/2578 Additional ATF Test Scripts updates to come

Summary

When cancelling temp state and temp state is hmi_states.begin(), we must check if the next element holds reference to state we are deleting in parent property and remove it if so.

CLA