diff options
author | Kostis Sagonas <[email protected]> | 2012-12-13 16:11:52 +0100 |
---|---|---|
committer | Kostis Sagonas <[email protected]> | 2012-12-13 16:11:52 +0100 |
commit | f1237b3e06f85b2ac31e7d923a58e2b906cd91fd (patch) | |
tree | 37e1599a941fec9afc9810eaa969c4dda7f6e59b /lib/kernel/src | |
parent | 1cbd897c43f0dab1275392a3736e4629c1f80243 (diff) | |
download | otp-f1237b3e06f85b2ac31e7d923a58e2b906cd91fd.tar.gz otp-f1237b3e06f85b2ac31e7d923a58e2b906cd91fd.tar.bz2 otp-f1237b3e06f85b2ac31e7d923a58e2b906cd91fd.zip |
Do not return wrong terms unnecessarily
Diffstat (limited to 'lib/kernel/src')
-rw-r--r-- | lib/kernel/src/dist_util.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/kernel/src/dist_util.erl b/lib/kernel/src/dist_util.erl index f0d54a2f3e..e3511988a6 100644 --- a/lib/kernel/src/dist_util.erl +++ b/lib/kernel/src/dist_util.erl @@ -757,7 +757,8 @@ setup_timer(Pid, Timeout) -> end. reset_timer(Timer) -> - Timer ! {self(), reset}. + Timer ! {self(), reset}, + ok. cancel_timer(Timer) -> unlink(Timer), |