diff options
author | Steve Vinoski <[email protected]> | 2016-01-18 14:04:24 -0500 |
---|---|---|
committer | Steve Vinoski <[email protected]> | 2016-01-18 14:04:24 -0500 |
commit | 693db9ef9c5a67b36215f21c32f91a986fc5630d (patch) | |
tree | 1aac10663ac8da51db4b829c05e0d299ff9fb665 /erts/emulator/beam | |
parent | 427c9f4f7777dd00e0a03a42b9834a4d669305b6 (diff) | |
download | otp-693db9ef9c5a67b36215f21c32f91a986fc5630d.tar.gz otp-693db9ef9c5a67b36215f21c32f91a986fc5630d.tar.bz2 otp-693db9ef9c5a67b36215f21c32f91a986fc5630d.zip |
Fix dirty scheduler check in handle_aux_work
Diffstat (limited to 'erts/emulator/beam')
-rw-r--r-- | erts/emulator/beam/erl_process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_process.c b/erts/emulator/beam/erl_process.c index 96d9a2f8b4..dd8bc9a698 100644 --- a/erts/emulator/beam/erl_process.c +++ b/erts/emulator/beam/erl_process.c @@ -2239,7 +2239,7 @@ handle_aux_work(ErtsAuxWorkData *awdp, erts_aint32_t orig_aux_work, int waiting) erts_aint32_t aux_work = orig_aux_work; erts_aint32_t ignore = 0; - ASSERT(!ERTS_SCHEDULER_IS_DIRTY(awdp->esdp)); + ASSERT(!awdp->esdp || !ERTS_SCHEDULER_IS_DIRTY(awdp->esdp)); #ifdef ERTS_SMP haw_thr_prgr_current_reset(awdp); #endif |