Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Little unreachable code. #7

Open
0xNaN opened this issue Sep 9, 2016 · 0 comments
Open

Little unreachable code. #7

0xNaN opened this issue Sep 9, 2016 · 0 comments

Comments

@0xNaN
Copy link
Contributor

0xNaN commented Sep 9, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant