Execute NIF calls on non-scheduler threads asynchronously #6
1 changed files with 2 additions and 2 deletions
|
@ -345,9 +345,9 @@ status(#state{status_cursor=Cursor}) ->
|
|||
{ok, Stats} ->
|
||||
Stats;
|
||||
{error, {eperm, _}} -> % TODO: review/fix this logic
|
||||
[];
|
||||
{ok, []};
|
||||
_ ->
|
||||
[]
|
||||
{ok, []}
|
||||
end.
|
||||
|
||||
%% @doc Register an asynchronous callback
|
||||
|
|
Loading…
Reference in a new issue