Doing a quick code review I've spotted what looks like a little unreachable code.
I think it is here since restart wasn't the combination of stop and start, btw there isn't any gen_fsm:send_all_state_event that send a restart event so it is definitely safe to remove
https://github.com/mobos/mob/blob/master/apps/mob/src/service_supervisor/service.erl#L78-L79
Doing a quick code review I've spotted what looks like a little unreachable code.
I think it is here since
restartwasn't the combination ofstopandstart, btw there isn't anygen_fsm:send_all_state_eventthat send arestartevent so it is definitely safe to removehttps://github.com/mobos/mob/blob/master/apps/mob/src/service_supervisor/service.erl#L78-L79