stopping acceptor/initiator when no session created
Brought to you by:
orenmnero
When calling stop() on an acceptor/initiator which hasn't yet created and enabled a session, in Acceptor/Initiator::stop(),
Session* pSession = Session::lookupSession(*i);
returns a zero pointer which causes a crash on next line. The crash can be prevented by checking for zero pointer.
Acceptor.cpp, Initiator.cpp diff