summaryrefslogtreecommitdiffstats
path: root/tests/write_queue/wqueue_test.c
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2019-04-08 00:33:53 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2019-04-11 05:36:36 +0000
commit3b414a4adc8687af1a32f36fc1553bc65fb6b348 (patch)
treecccdbc0a83ec0789968a73293520c960584b0996 /tests/write_queue/wqueue_test.c
parent223d66a41455033e77e8c2cbb8170eaf0217b954 (diff)
fsm: add flag to ensure osmo_fsm_inst_term() happens only once
To prevent re-entering osmo_fsm_inst_term() twice for the same osmo_fsm_inst, add flag osmo_fsm_inst.proc.terminating. osmo_fsm_inst_term() sets this to true, or exits if it already is true. Update fsm_dealloc_test.err for illustration. It is not relevant for unit testing yet, just showing the difference. Change-Id: I0c02d76a86f90c49e0eae2f85db64704c96a7674
Diffstat (limited to 'tests/write_queue/wqueue_test.c')
0 files changed, 0 insertions, 0 deletions