aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mnesia/src/mnesia_tm.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2016-10-17 12:16:09 +0200
committerDan Gudmundsson <[email protected]>2016-10-17 12:16:09 +0200
commitf8c047bb96eff53e5ddaff3d1a00d6a85a990bf3 (patch)
tree7d2fe94a27095fc4ebdd6f7bdb55593911cedf82 /lib/mnesia/src/mnesia_tm.erl
parent82d1b7b4c79cef54f04e062f04b696544609a25b (diff)
downloadotp-f8c047bb96eff53e5ddaff3d1a00d6a85a990bf3.tar.gz
otp-f8c047bb96eff53e5ddaff3d1a00d6a85a990bf3.tar.bz2
otp-f8c047bb96eff53e5ddaff3d1a00d6a85a990bf3.zip
Avoid some error reports when stopping mnesia
Worker processes can cause error reports if the main mnesia processes dissapear.
Diffstat (limited to 'lib/mnesia/src/mnesia_tm.erl')
-rw-r--r--lib/mnesia/src/mnesia_tm.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mnesia/src/mnesia_tm.erl b/lib/mnesia/src/mnesia_tm.erl
index b116b48312..388b42cf15 100644
--- a/lib/mnesia/src/mnesia_tm.erl
+++ b/lib/mnesia/src/mnesia_tm.erl
@@ -950,7 +950,7 @@ return_abort(Fun, Args, Reason) ->
if
Level == 1 ->
mnesia_locker:async_release_tid(Nodes, Tid),
- ?MODULE ! {delete_transaction, Tid},
+ ?SAFE(?MODULE ! {delete_transaction, Tid}),
erase(mnesia_activity_state),
flush_downs(),
?SAFE(unlink(whereis(?MODULE))),