Skip to content

Commit aa99773

Browse files
committed
do nothing to owner_symbol in AsyncReset
1 parent ce446f9 commit aa99773

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/async_wrap.cc

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -852,18 +852,6 @@ void AsyncWrap::AsyncReset(Local<Object> resource, double execution_async_id,
852852
: execution_async_id;
853853
trigger_async_id_ = env()->get_default_trigger_async_id();
854854

855-
{
856-
HandleScope handle_scope(env()->isolate());
857-
Local<Object> obj = object();
858-
CHECK(!obj.IsEmpty());
859-
if (resource != obj) {
860-
USE(obj->Set(
861-
env()->context(),
862-
env()->owner_symbol(),
863-
resource));
864-
}
865-
}
866-
867855
switch (provider_type()) {
868856
#define V(PROVIDER) \
869857
case PROVIDER_ ## PROVIDER: \

0 commit comments

Comments
 (0)