diff options
author | Raimo Niskanen <[email protected]> | 2018-06-13 09:48:32 +0200 |
---|---|---|
committer | Raimo Niskanen <[email protected]> | 2018-06-13 09:48:32 +0200 |
commit | b3cab2b6ab41bff5807ce77dca986c7512fbcec7 (patch) | |
tree | 13e47f113d1abdb87390a3802a6b940b05c6c692 /lib/stdlib | |
parent | 78100134e1fa6948dc19058c27ddab4ac1aa0e8c (diff) | |
parent | 052a5e0149dcbc63e9b93003f1351cba86990228 (diff) | |
download | otp-b3cab2b6ab41bff5807ce77dca986c7512fbcec7.tar.gz otp-b3cab2b6ab41bff5807ce77dca986c7512fbcec7.tar.bz2 otp-b3cab2b6ab41bff5807ce77dca986c7512fbcec7.zip |
Merge branch 'raimo/stdlib/gen_statem-dev/OTP-14015'
* raimo/stdlib/gen_statem-dev/OTP-14015:
Show state changes in sys:trace
Diffstat (limited to 'lib/stdlib')
-rw-r--r-- | lib/stdlib/src/gen_statem.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stdlib/src/gen_statem.erl b/lib/stdlib/src/gen_statem.erl index 19d22f24f0..faa43fbc1e 100644 --- a/lib/stdlib/src/gen_statem.erl +++ b/lib/stdlib/src/gen_statem.erl @@ -1448,13 +1448,13 @@ loop_event_done( [?sys_debug( Debug_0, {S#state.name,State}, - {postpone,Event_0,State}), + {postpone,Event_0,NextState}), Event_0|P_0]; false -> [?sys_debug( Debug_0, {S#state.name,State}, - {consume,Event_0,State})|P_0] + {consume,Event_0,NextState})|P_0] end, {Events_2,P_2,Timers_2} = %% Move all postponed events to queue, |