diff options
author | John Högberg <[email protected]> | 2018-06-14 08:26:07 +0200 |
---|---|---|
committer | John Högberg <[email protected]> | 2018-06-14 08:26:07 +0200 |
commit | 8ca58cf82e430775ab1c2adfab31f77f649c3f96 (patch) | |
tree | db259111fd981940331fa9c3bfb0a85bc746a8eb /erts/emulator/test/nif_SUITE.erl | |
parent | 4013f4840d8d540c63fa7901c2d8d1653ae45821 (diff) | |
download | otp-8ca58cf82e430775ab1c2adfab31f77f649c3f96.tar.gz otp-8ca58cf82e430775ab1c2adfab31f77f649c3f96.tar.bz2 otp-8ca58cf82e430775ab1c2adfab31f77f649c3f96.zip |
Don't enqueue system tasks if target process is in fail_state
The fail state wasn't re-checked in the state change loop; only
the FREE state was checked. In addition to that, we would leave
the task in the queue when bailing out which could lead to a
double-free.
This commit backports active_sys_enqueue from master to make it
easier to merge onwards.
Diffstat (limited to 'erts/emulator/test/nif_SUITE.erl')
0 files changed, 0 insertions, 0 deletions