Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some crashes when Erizo is closing MediaStreams and WebRtcConnections #1160

Merged
merged 6 commits into from
Mar 5, 2018

Conversation

jcague
Copy link
Contributor

@jcague jcague commented Mar 1, 2018

Description

Fix some crashes when Erizo is closing MediaStreams and WebRtcConnections. It doesn't fix all the cases since I still see some cores from time to time, but it should help reducing the issues.

[] It needs and includes Unit Tests

Changes in Client or Server public APIs

[] It includes documentation for these changes in /doc.

Copy link
Contributor

@lodoyun lodoyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! The extra checks will probably help in some cases

@@ -18,6 +18,8 @@ using v8::Exception;
using v8::Value;
using json = nlohmann::json;

DEFINE_LOGGER(MediaStream, "ErizoAPI.MediaStream");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 to using the logger here

@jcague jcague merged commit d694a99 into lynckia:master Mar 5, 2018
@jcague jcague deleted the fix/uv_finish_close_crashes branch March 5, 2018 09:02
Arri98 pushed a commit to Arri98/licode that referenced this pull request Apr 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants