aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/gen_event.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/stdlib/src/gen_event.erl')
-rw-r--r--lib/stdlib/src/gen_event.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/src/gen_event.erl b/lib/stdlib/src/gen_event.erl
index 7c15a40a4f..3143ed74fc 100644
--- a/lib/stdlib/src/gen_event.erl
+++ b/lib/stdlib/src/gen_event.erl
@@ -287,7 +287,7 @@ fetch_msg(Parent, ServerName, MSL, AutoHibernateTimeout, Debug, Hib) ->
ServerName, {in, Msg}),
handle_msg(Msg, Parent, ServerName, MSL, AutoHibernateTimeout, Debug1)
after AutoHibernateTimeout ->
- proc_lib:hibernate(?MODULE, wake_hib, [Parent, ServerName, MSL, AutoHibernateTimeout, Debug])
+ loop(Parent, ServerName, MSL, AutoHibernateTimeout, Debug, true)
end.
handle_msg(Msg, Parent, ServerName, MSL, AutoHibernateTimeout, Debug) ->