Skip to content
This repository has been archived by the owner on Sep 25, 2023. It is now read-only.

Fix traversal crash of queuedRemoteCandidates #280

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AoEiuV020
Copy link

It is also dangerous to use a for loop to traverse the list outside the pc thread.
Especially when the code running efficiency is slowed down in debug mode, it is more likely to cause a crash when the remove is executed before the loop is completed.

It is also dangerous to use a for loop to traverse the list outside the pc thread.
Especially when the code running efficiency is slowed down in debug mode, it is more likely to cause a crash when the remove is executed before the loop is completed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant