summaryrefslogtreecommitdiffstats
path: root/tests/vty/vty_test.c
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-12-18 23:41:41 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-12-24 18:44:41 +0100
commit3faa0148054ae47924e20a3c3cae4cdf969ab695 (patch)
tree5cc55f8ebe54789228b6a34a426e43a10f71c20d /tests/vty/vty_test.c
parent15492bcb2653e0213caf0db6d44f09f4d05c9b4e (diff)
fsm: term: get parent pointer as late as possible
During FSM instance termination, fetch the parent pointer every time just before using it, in case the child termination or cleanup callback wish to change anything about the parent, e.g. to prevent event dispatch. This patch was created to try and fix a problem that was in the end solved differently. There is no actual need or use case for this at the moment, but it generally makes sense to get the parent pointer as late as possible. Change-Id: I999d7f29ba10281d4005c5163130bb2d80148362
Diffstat (limited to 'tests/vty/vty_test.c')
0 files changed, 0 insertions, 0 deletions