mod_mam: Remove users in sync_transaction context

This commit is contained in:
Holger Weiss 2015-02-16 00:03:22 +01:00
parent 214339814f
commit 8208d5d172
1 changed files with 1 additions and 1 deletions

View File

@ -1245,5 +1245,5 @@ remove_user(LUser, LServer, mnesia) ->
ok ok
end end
end, end,
{atomic, ok} = mnesia:transaction(Remove), {atomic, ok} = mnesia:sync_transaction(Remove),
manage_mnesia_fragments(true). manage_mnesia_fragments(true).