diff options
author | Siri Hansen <[email protected]> | 2018-09-11 14:11:29 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2018-09-12 14:58:02 +0200 |
commit | 7140fe7679c1ea0862961d2fc34f9d8283c04ca3 (patch) | |
tree | 0d53357893c981fd6ec5068f15cde765186c8fb5 /lib/kernel/src/logger.erl | |
parent | a98ffe831d2a1cf44d0b7c53e2d72ade9d5a3dbb (diff) | |
download | otp-7140fe7679c1ea0862961d2fc34f9d8283c04ca3.tar.gz otp-7140fe7679c1ea0862961d2fc34f9d8283c04ca3.tar.bz2 otp-7140fe7679c1ea0862961d2fc34f9d8283c04ca3.zip |
[logger] Check for deadlock when removing filters
If a filter fails, it is removed by a call to
logger:remove_filter/1,2. If the log event that caused the failure was
issued on the logger process itself, this would earlier cause a
deadlock due to a gen_server:call to self(). This is now prevented.
Diffstat (limited to 'lib/kernel/src/logger.erl')
0 files changed, 0 insertions, 0 deletions