diff options
author | Luis Rascao <[email protected]> | 2015-09-12 15:48:30 +0100 |
---|---|---|
committer | Luis Rascao <[email protected]> | 2015-11-05 13:33:49 +0000 |
commit | f1f6ba4da602eb96727b6e9b5ac3dfdac17a1bd8 (patch) | |
tree | 71a20663048be313c0f06e3ce43211f484d22f07 /erts/preloaded/src | |
parent | 0ce885af02b6666d498c408ff0188a5fd22c8575 (diff) | |
download | otp-f1f6ba4da602eb96727b6e9b5ac3dfdac17a1bd8.tar.gz otp-f1f6ba4da602eb96727b6e9b5ac3dfdac17a1bd8.tar.bz2 otp-f1f6ba4da602eb96727b6e9b5ac3dfdac17a1bd8.zip |
Fix crash on init restart
On load handler process not being launched on a restart, NIF's
such as asn1rt_nif require it to be present for correct loading.
Diffstat (limited to 'erts/preloaded/src')
-rw-r--r-- | erts/preloaded/src/init.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/preloaded/src/init.erl b/erts/preloaded/src/init.erl index c4e37b76f1..0ad5824ad1 100644 --- a/erts/preloaded/src/init.erl +++ b/erts/preloaded/src/init.erl @@ -167,7 +167,6 @@ stop(Status) -> init ! {stop,{stop,Status}}, ok. boot(BootArgs) -> register(init, self()), process_flag(trap_exit, true), - start_on_load_handler_process(), {Start0,Flags,Args} = parse_boot_args(BootArgs), Start = map(fun prepare_run_args/1, Start0), Flags0 = flags_to_atoms_again(Flags), @@ -225,6 +224,7 @@ code_path_choice() -> end. boot(Start,Flags,Args) -> + start_on_load_handler_process(), BootPid = do_boot(Flags,Start), State = #state{flags = Flags, args = Args, |