aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator
diff options
context:
space:
mode:
authorSteve Vinoski <[email protected]>2016-01-18 14:04:24 -0500
committerSteve Vinoski <[email protected]>2016-01-18 14:04:24 -0500
commit693db9ef9c5a67b36215f21c32f91a986fc5630d (patch)
tree1aac10663ac8da51db4b829c05e0d299ff9fb665 /erts/emulator
parent427c9f4f7777dd00e0a03a42b9834a4d669305b6 (diff)
downloadotp-693db9ef9c5a67b36215f21c32f91a986fc5630d.tar.gz
otp-693db9ef9c5a67b36215f21c32f91a986fc5630d.tar.bz2
otp-693db9ef9c5a67b36215f21c32f91a986fc5630d.zip
Fix dirty scheduler check in handle_aux_work
Diffstat (limited to 'erts/emulator')
-rw-r--r--erts/emulator/beam/erl_process.c2
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