-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Fix concurrency issue in NetworkingModule #4179
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
Conversation
|
It seems that your PR is missing a change file. Please run 'yarn change' to create it. #Resolved |
vmoroz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
![]()
| winrt::Windows::Web::Http::HttpResponseMessage, | ||
| winrt::Windows::Web::Http::HttpProgress> httpRequest(nullptr); | ||
| { | ||
| std::scoped_lock(m_mutex); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
( [](start = 20, length = 1)
There must be a variable name for the lock.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Add locking around access to m_requests * Change files * add locking around AbortRequest as well * fix formatting * lock needs local variable
* Fix concurrency issue in NetworkingModule (#4179) * Add locking around access to m_requests * Change files * add locking around AbortRequest as well * fix formatting * lock needs local variable * Remove useIncrementalUpdates assert from Networking module (#4116) * Remove useIncrementalUpdates assert from Networking module * Change files * add [[maybe_unused]] Co-authored-by: Marlene Cota <marlenecota@gmail.com>
Fix #4174
Microsoft Reviewers: Open in CodeFlow