mirror of
https://github.com/ubf/ubf.git
synced 2026-04-17 10:16:06 +00:00
revert handlerStop for serverless plugins
This commit is contained in:
@@ -88,7 +88,7 @@ loop(Client, State1, Data, Manager, Mod) ->
|
||||
if Manager /= undefined ->
|
||||
Manager ! {client_has_died, self(), Why};
|
||||
true ->
|
||||
case (catch Mod:handlerStop(Client, Why, Data)) of
|
||||
case (catch Mod:handlerStop(Why, Data)) of
|
||||
{'EXIT', OOps} ->
|
||||
io:format("plug in error:~p~n",[OOps]);
|
||||
_ ->
|
||||
|
||||
Reference in New Issue
Block a user