diff --git a/napi/src/async_work.rs b/napi/src/async_work.rs index e6f57b3c..27ceef5c 100644 --- a/napi/src/async_work.rs +++ b/napi/src/async_work.rs @@ -26,11 +26,6 @@ impl AsyncWork { ) }; check_status(status)?; - let mut raw_context = ptr::null_mut(); - unsafe { - let status = sys::napi_async_init(env, raw_resource, raw_name, &mut raw_context); - check_status(status)?; - }; let result = AsyncWork { inner_task: task, deferred,