Fix the 'spawn_opt' options
This commit is contained in:
parent
73847b96fc
commit
e972103f74
|
@ -66,8 +66,7 @@
|
||||||
[esockd_net:format(State#client_state.peername) | Args])).
|
[esockd_net:format(State#client_state.peername) | Args])).
|
||||||
|
|
||||||
start_link(Conn, Env) ->
|
start_link(Conn, Env) ->
|
||||||
{ok, proc_lib:spawn_opt(?MODULE, init, [[Conn, Env]],
|
{ok, proc_lib:spawn_opt(?MODULE, init, [[Conn, Env]], [link | ?FULLSWEEP_OPTS])}.
|
||||||
[{spawn_opt, [link | ?FULLSWEEP_OPTS]}])}.
|
|
||||||
|
|
||||||
info(CPid) ->
|
info(CPid) ->
|
||||||
gen_server2:call(CPid, info).
|
gen_server2:call(CPid, info).
|
||||||
|
|
Loading…
Reference in New Issue