diff options
author | Sverker Eriksson <[email protected]> | 2019-02-11 14:41:05 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2019-02-11 14:41:05 +0100 |
commit | 0699796062861bec095fda747afdcf01bc2f015e (patch) | |
tree | a333dee41b4f93a4cfe4951559a1d65ca1630e5e /erts/emulator/sys | |
parent | 657dea63080ef1cd732e1e7694c3358072354401 (diff) | |
parent | 2b8a46f154fb411c47262eb1c439a912d1fc8fd5 (diff) | |
download | otp-0699796062861bec095fda747afdcf01bc2f015e.tar.gz otp-0699796062861bec095fda747afdcf01bc2f015e.tar.bz2 otp-0699796062861bec095fda747afdcf01bc2f015e.zip |
Merge branch 'maint'
Diffstat (limited to 'erts/emulator/sys')
-rw-r--r-- | erts/emulator/sys/common/erl_check_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/sys/common/erl_check_io.c b/erts/emulator/sys/common/erl_check_io.c index d413659f81..e367087455 100644 --- a/erts/emulator/sys/common/erl_check_io.c +++ b/erts/emulator/sys/common/erl_check_io.c @@ -1061,7 +1061,7 @@ enif_select_x(ErlNifEnv* env, ErtsDrvSelectDataState *free_select = NULL; ErtsNifSelectDataState *free_nif = NULL; - ASSERT(!resource->monitors); + ASSERT(!erts_dbg_is_resource_dying(resource)); #ifdef ERTS_SYS_CONTINOUS_FD_NUMBERS if (!grow_drv_ev_state(fd)) { |