aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/sys
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2018-04-24 08:42:25 +0200
committerLukas Larsson <[email protected]>2018-04-24 09:49:30 +0200
commitbfb9b3e8ea91aac1afef298c406296069d1b09b4 (patch)
tree5eaed43c5c0b920b35d973131cd566074b07aba5 /erts/emulator/sys
parent44681c2ff6347d7e77195cdec0bccc95ee245855 (diff)
downloadotp-bfb9b3e8ea91aac1afef298c406296069d1b09b4.tar.gz
otp-bfb9b3e8ea91aac1afef298c406296069d1b09b4.tar.bz2
otp-bfb9b3e8ea91aac1afef298c406296069d1b09b4.zip
erts: nif resource stop from poll-thread is a indirect call
Diffstat (limited to 'erts/emulator/sys')
-rw-r--r--erts/emulator/sys/common/erl_check_io.c2
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 f93d4c1557..8928529984 100644
--- a/erts/emulator/sys/common/erl_check_io.c
+++ b/erts/emulator/sys/common/erl_check_io.c
@@ -1736,7 +1736,7 @@ erts_check_io(ErtsPollThread *psi)
}
}
if (resource) {
- erts_resource_stop(resource, (ErlNifEvent)fd, 1);
+ erts_resource_stop(resource, (ErlNifEvent)fd, 0);
enif_release_resource(resource->data);
}
if (free_select)