Roger Pack
2007-Nov-07 23:51 UTC
[Eventmachine-talk] Eventmachine-talk Digest, Vol 19, Issue 5
>i''m trying to come up with a neat way to stop the reactor after allthe connections in a set have executed unbind. Yeah perhaps a nice command would be as you suggested server.stop_accepting_clients # exists--whatever the syntax is EM::stop_em_when_the_last_existing_connection_ends That might be useful. That way users would only call the second call "after the first" (or, as you noted, by itself and at their own peril). Might be useful. Take care. -Roger