aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src/heart.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kernel/src/heart.erl')
-rw-r--r--lib/kernel/src/heart.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/kernel/src/heart.erl b/lib/kernel/src/heart.erl
index ad3bbf2f7a..617ae2f91b 100644
--- a/lib/kernel/src/heart.erl
+++ b/lib/kernel/src/heart.erl
@@ -333,6 +333,7 @@ get_heart_cmd(Port) ->
%% if something goes wront -> no heartbeat.
check_callback(Callback) ->
+ ok = erts_internal:system_check(schedulers),
case Callback of
undefined -> ok;
{M,F} ->