elib/ernie_native.erl in ernie-2.2.1 vs elib/ernie_native.erl in ernie-2.3.0
- old
+ new
@@ -18,9 +18,10 @@
BTrace = lists:map(fun(X) -> list_to_binary(io_lib:format("~p", [X])) end, Trace),
Data = term_to_binary({error, [user, 0, <<"RuntimeError">>, BError, BTrace]}),
gen_tcp:send(Sock, Data)
end,
ok = gen_tcp:close(Sock),
+ ernie_server:fin(),
Log = Request#request.log,
Log2 = Log#log{tdone = erlang:now()},
Request2 = Request#request{log = Log2},
ernie_access_logger:acc(Request2).
\ No newline at end of file