diff options
author | Anton N Ryabkov <[email protected]> | 2017-04-20 16:31:07 +0700 |
---|---|---|
committer | Anton N Ryabkov <[email protected]> | 2017-05-02 08:22:13 +0700 |
commit | 98233727217ddd8263253493a9248db79d3cd384 (patch) | |
tree | 873e908c1e44e8b4ed4944fa8b2cee19a2b61790 /lib/stdlib/src/gen_server.erl | |
parent | 4a60e2df0ff2a95ed899768d8698d419b067d371 (diff) | |
download | otp-98233727217ddd8263253493a9248db79d3cd384.tar.gz otp-98233727217ddd8263253493a9248db79d3cd384.tar.bz2 otp-98233727217ddd8263253493a9248db79d3cd384.zip |
Added reuse of code.
Diffstat (limited to 'lib/stdlib/src/gen_server.erl')
-rw-r--r-- | lib/stdlib/src/gen_server.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/src/gen_server.erl b/lib/stdlib/src/gen_server.erl index a538e80211..ea5b57ad1c 100644 --- a/lib/stdlib/src/gen_server.erl +++ b/lib/stdlib/src/gen_server.erl @@ -372,7 +372,7 @@ loop(Parent, Name, State, Mod, infinity, AutoHibernateTimeout, Debug) -> Msg -> decode_msg(Msg, Parent, Name, State, Mod, infinity, AutoHibernateTimeout, Debug, false) after AutoHibernateTimeout -> - proc_lib:hibernate(?MODULE,wake_hib,[Parent, Name, State, Mod, AutoHibernateTimeout, Debug]) + loop(Parent, Name, State, Mod, hibernate, AutoHibernateTimeout, Debug) end; loop(Parent, Name, State, Mod, Time, AutoHibernateTimeout, Debug) -> |