Skip to content

Commit

Permalink
Node (#1818)
Browse files Browse the repository at this point in the history
  • Loading branch information
Arri98 authored Oct 18, 2022
1 parent 45e6443 commit 92ece67
Show file tree
Hide file tree
Showing 13 changed files with 18,172 additions and 101 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
12.13.0
16.14.2
2 changes: 1 addition & 1 deletion erizoAPI/MediaStream.cc
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ NAUV_WORK_CB(MediaStream::closePromiseResolver) {
delete persistent;
obj->futures.pop();
obj->Unref();
v8::Isolate::GetCurrent()->RunMicrotasks();
v8::Isolate::GetCurrent()->PerformMicrotaskCheckpoint();
}
obj->closeEvents();
obj->Unref();
Expand Down
2 changes: 1 addition & 1 deletion erizoAPI/WebRtcConnection.cc
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,7 @@ NAUV_WORK_CB(WebRtcConnection::promiseResolver) {
persistent->Reset();
delete persistent;
obj->futures.pop();
v8::Isolate::GetCurrent()->RunMicrotasks();
v8::Isolate::GetCurrent()->PerformMicrotaskCheckpoint();
obj->Unref();
}

Expand Down
Loading

0 comments on commit 92ece67

Please sign in to comment.