diff options
-rw-r--r-- | src/web/ejabberd_http_bind.erl | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/web/ejabberd_http_bind.erl b/src/web/ejabberd_http_bind.erl index 11ee84182..b26cf5fc0 100644 --- a/src/web/ejabberd_http_bind.erl +++ b/src/web/ejabberd_http_bind.erl @@ -523,10 +523,7 @@ handle_info(_, StateName, StateData) -> %%---------------------------------------------------------------------- terminate(_Reason, _StateName, StateData) -> ?DEBUG("terminate: Deleting session ~s", [StateData#state.id]), - mnesia:transaction( - fun() -> - mnesia:delete({http_bind, StateData#state.id}) - end), + mnesia:dirty_delete({http_bind, StateData#state.id}), send_receiver_reply(StateData#state.http_receiver, {ok, terminate}), case StateData#state.waiting_input of false -> |