aboutsummaryrefslogtreecommitdiffstats
path: root/erts/preloaded
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2018-05-28 13:11:05 +0200
committerHans Bolinder <[email protected]>2018-05-28 15:26:42 +0200
commite6f3aa45b9b53c4bc6b6bb2477177dae9fd6f810 (patch)
tree0afe0e673a92e064f905eb309c0ca074253b4ac5 /erts/preloaded
parentd1e14ad7c6af8a522226107788f33e92589c6c05 (diff)
downloadotp-e6f3aa45b9b53c4bc6b6bb2477177dae9fd6f810.tar.gz
otp-e6f3aa45b9b53c4bc6b6bb2477177dae9fd6f810.tar.bz2
otp-e6f3aa45b9b53c4bc6b6bb2477177dae9fd6f810.zip
erts: Improve a contract
Diffstat (limited to 'erts/preloaded')
-rw-r--r--erts/preloaded/src/erts_code_purger.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/preloaded/src/erts_code_purger.erl b/erts/preloaded/src/erts_code_purger.erl
index fd214228c7..c41532ed87 100644
--- a/erts/preloaded/src/erts_code_purger.erl
+++ b/erts/preloaded/src/erts_code_purger.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2016. All Rights Reserved.
+%% Copyright Ericsson AB 2016-2018. All Rights Reserved.
%%
%% Licensed under the Apache License, Version 2.0 (the "License");
%% you may not use this file except in compliance with the License.
@@ -25,7 +25,7 @@
-export([start/0, purge/1, soft_purge/1, pending_purge_lambda/3,
finish_after_on_load/2]).
--spec start() -> term().
+-spec start() -> no_return().
start() ->
register(erts_code_purger, self()),
process_flag(trap_exit, true),