From d70b04c6d7f5fec2d3cd9584362a9675a5196531 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Tue, 4 Dec 2018 15:06:20 -0800 Subject: Add deno_config struct for isolate creation. (#1277) In preperation for adding other callbacks to libdeno. --- libdeno/binding.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libdeno/binding.cc') diff --git a/libdeno/binding.cc b/libdeno/binding.cc index 999ccac47..b5d7ecafa 100644 --- a/libdeno/binding.cc +++ b/libdeno/binding.cc @@ -324,7 +324,7 @@ void Send(const v8::FunctionCallbackInfo& args) { DCHECK_EQ(d->current_args_, nullptr); d->current_args_ = &args; - d->cb_(d->user_data_, req_id, control, data); + d->recv_cb_(d->user_data_, req_id, control, data); if (d->current_args_ == nullptr) { // This indicates that deno_repond() was called already. -- cgit v1.2.3