diff options
author | Raimo Niskanen <[email protected]> | 2019-01-21 12:09:31 +0100 |
---|---|---|
committer | Raimo Niskanen <[email protected]> | 2019-01-21 12:09:38 +0100 |
commit | 84d69a11fa44df8eeb377e0003f6dd7ae51976c4 (patch) | |
tree | 43c8f682d3a4b0e3c778e1b4f8ea97ca4e062312 /lib/kernel/src/logger_config.erl | |
parent | 12cecd07628cb28d7bc80c17bfc01ca783b8683c (diff) | |
download | otp-84d69a11fa44df8eeb377e0003f6dd7ae51976c4.tar.gz otp-84d69a11fa44df8eeb377e0003f6dd7ae51976c4.tar.bz2 otp-84d69a11fa44df8eeb377e0003f6dd7ae51976c4.zip |
correct: Work around a compiler mis-optimization
This was not a compiler optimization that misfired, rather that
the code neede separate case clauses for when the timer was
running and not, so to not call erlang:cancel_timer/1 nor
maps:remove/2 in the case clause where only
a map update was needed before recursion.
See the comment in loop_timouts_cancel/13
Diffstat (limited to 'lib/kernel/src/logger_config.erl')
0 files changed, 0 insertions, 0 deletions