mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-28 16:34:13 +01:00
* src/ejabberd_receiver.erl: Bugfix
SVN Revision: 692
This commit is contained in:
parent
bb2ffb8765
commit
2bc550aafc
@ -1,5 +1,7 @@
|
|||||||
2006-12-08 Alexey Shchepin <alexey@sevcom.net>
|
2006-12-08 Alexey Shchepin <alexey@sevcom.net>
|
||||||
|
|
||||||
|
* src/ejabberd_receiver.erl: Bugfix
|
||||||
|
|
||||||
* src/ejabberd_c2s.erl: Bugfix
|
* src/ejabberd_c2s.erl: Bugfix
|
||||||
|
|
||||||
2006-12-05 Alexey Shchepin <alexey@sevcom.net>
|
2006-12-05 Alexey Shchepin <alexey@sevcom.net>
|
||||||
|
@ -236,7 +236,12 @@ handle_info(_Info, State) ->
|
|||||||
terminate(_Reason, #state{xml_stream_state = XMLStreamState,
|
terminate(_Reason, #state{xml_stream_state = XMLStreamState,
|
||||||
c2s_pid = C2SPid} = State) ->
|
c2s_pid = C2SPid} = State) ->
|
||||||
xml_stream:close(XMLStreamState),
|
xml_stream:close(XMLStreamState),
|
||||||
gen_fsm:send_event(C2SPid, closed),
|
if
|
||||||
|
C2SPid /= undefined ->
|
||||||
|
gen_fsm:send_event(C2SPid, closed);
|
||||||
|
true ->
|
||||||
|
ok
|
||||||
|
end,
|
||||||
catch (State#state.sock_mod):close(State#state.socket),
|
catch (State#state.sock_mod):close(State#state.socket),
|
||||||
ok.
|
ok.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user