mirror of
https://github.com/processone/ejabberd
synced 2025-10-06 03:50:15 +02:00
Fix old route record in mnesia's route table haven't been remove when restarting in some cases (#1184)
This commit is contained in:
parent
2cd193f97c
commit
de1a66dfbe
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ init([]) ->
|
|||
lists:foreach(
|
||||
fun (Pid) -> erlang:monitor(process, Pid) end,
|
||||
mnesia:dirty_select(route,
|
||||
[{{route, '_', '$1', '_'}, [], ['$1']}])),
|
||||
[{#route{pid = '$1', _ = '_'}, [], ['$1']}])),
|
||||
{ok, #state{}}.
|
||||
|
||||
handle_call(_Request, _From, State) ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue