This commit is contained in:
anlicheng 2023-08-15 22:51:49 +08:00
parent 1c4fbf6415
commit 30c0d6c198

View File

@ -135,6 +135,8 @@ start_link(Name, UUID) when is_atom(Name), is_binary(UUID) ->
%% gen_statem:start_link/[3,4], this function is called by the new
%% process to initialize.
init([UUID]) ->
erlang:process_flag(trap_exit, true),
%% 线;
{ok, _} = host_bo:change_status(UUID, ?HOST_OFFLINE),