Repository navigation
Open cloud audio - #9863
Merged
kryksyh merged 6 commits intoNov 17, 2025
Merged
Open cloud audio#9863
Conversation
kryksyh
force-pushed
the
open_cloud_audio_from_mobile
branch
from
November 12, 2025 15:20
e9a5eca to
2c267c9
Compare
Comment on lines
+59
to
+64
| mStopRequested = true; | ||
|
|
||
| if (mPollingThread.joinable()) | ||
| { | ||
| mPollingThread.detach(); | ||
| } |
Contributor
There was a problem hiding this comment.
Shouldn't it just call Stop() and then detach instead?
I mean, imagine this scenario:
PollingThread tests mStopRequested in the while loop, which is false, for example. It enters the code inside, and then the destructor is called, and it sets mStopRequested to true. But the code PollingThread is still being executed and will test the atomic variable just on the next iteration.
This can be a problem, in my opinion.
Member
Author
There was a problem hiding this comment.
Yes, you are right, the thing is that it is called on the app shutdown, and there is not much time to wait for the thread stop. I'll add a small timeout.
kryksyh
force-pushed
the
open_cloud_audio_from_mobile
branch
3 times, most recently
from
November 13, 2025 07:41
f1a1227 to
968d9a5
Compare
embarc-gabriel
approved these changes
Nov 13, 2025
kryksyh
force-pushed
the
open_cloud_audio_from_mobile
branch
from
November 13, 2025 11:24
968d9a5 to
d0b9138
Compare
kryksyh
force-pushed
the
open_cloud_audio_from_mobile
branch
from
November 13, 2025 12:03
d0b9138 to
e8063f8
Compare
This was
linked to
issues
Nov 13, 2025
kryksyh
force-pushed
the
open_cloud_audio_from_mobile
branch
from
November 14, 2025 12:18
de0533b to
3c06451
Compare
10 of 12 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves: #9776, #9874, #9862
Recommended:
QA: