This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "An utility library for Open Source Mobile Communications".
The branch, master has been updated
via d1f5793b5e89426927d57cff7f6951e0c2e29d92 (commit)
from 4a8a9f4210b01c3b8b75eb3b984c9127e90d8c54 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/libosmocore/commit/?id=d1f5793b5e89426927d57cff7f69…
commit d1f5793b5e89426927d57cff7f6951e0c2e29d92
Author: Philipp Maier <pmaier(a)sysmocom.de>
Date: Wed Feb 14 18:20:07 2018 +0100
fsm: allow graceful exit on FSM termination
The function _osmo_fsm_inst_term() terminates all child FSMs befor
it calls fi->fsm_cleanup(). This prevents the cleanup callback to
perform last actions on the child FSMs (e.g.
osmo_fsm_inst_unlink_parent()).
- Since moving the cleanup callack to the beginning of the function
would alter the termination behavior and possibly cause malfunction
in already existing implementation that use OSMO fsm, a new
optional callback that is called immediately at the beginning of
the terminatopn process is added.
Change-Id: I0fdda9fe994753f975a658c0f3fb3615949cc8bb
Closes: OS#2915
-----------------------------------------------------------------------
Summary of changes:
TODO-RELEASE | 1 +
include/osmocom/core/fsm.h | 2 ++
src/fsm.c | 15 +++++++++++++--
3 files changed, 16 insertions(+), 2 deletions(-)
hooks/post-receive
--
An utility library for Open Source Mobile Communications