Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
no env in that method
Browse files Browse the repository at this point in the history
  • Loading branch information
Jikstra committed Jul 16, 2019
1 parent 34fcb40 commit 79ee6b8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/module.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,9 @@ static uintptr_t dc_event_handler(dc_context_t* dc_context, int event, uintptr_t
napi_status status = napi_call_threadsafe_function(dcn_context->threadsafe_event_handler, dcn_event, napi_tsfn_nonblocking);

if (status == napi_queue_full) {
TRACE("Queue is full!");
} else {
NAPI_STATUS_THROWS(status);
TRACE("Queue is full, can't call callback");
}

return 0;
}

Expand Down

0 comments on commit 79ee6b8

Please sign in to comment.