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

Remove usage of async-uniffi #1386

Merged
merged 1 commit into from
Sep 20, 2023

Conversation

ganfra
Copy link
Member

@ganfra ganfra commented Sep 20, 2023

Closes #1381

This might have fixed the deadlock from #1235

@ganfra ganfra marked this pull request as ready for review September 20, 2023 10:53
@ganfra ganfra requested a review from a team as a code owner September 20, 2023 10:53
@ganfra ganfra requested review from julioromano and bmarty and removed request for a team September 20, 2023 10:53
@ganfra ganfra added the Z-NextRelease For issues and PRs which should be included in the NextRelease. label Sep 20, 2023
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@codecov
Copy link

codecov bot commented Sep 20, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.02% ⚠️

Comparison is base (cfb71ad) 57.78% compared to head (4883b63) 57.76%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1386      +/-   ##
===========================================
- Coverage    57.78%   57.76%   -0.02%     
===========================================
  Files         1125     1125              
  Lines        29593    29603      +10     
  Branches      6030     6031       +1     
===========================================
  Hits         17100    17100              
- Misses        9914     9924      +10     
  Partials      2579     2579              
Files Changed Coverage Δ
.../android/libraries/matrix/impl/RustMatrixClient.kt 0.00% <0.00%> (ø)
...d/libraries/matrix/impl/RustMatrixClientFactory.kt 0.00% <0.00%> (ø)
...icationsettings/RustNotificationSettingsService.kt 0.00% <0.00%> (ø)
...droid/libraries/matrix/impl/room/RustMatrixRoom.kt 0.00% <0.00%> (ø)
...roid/libraries/matrix/impl/sync/RustSyncService.kt 0.00% <0.00%> (ø)
...ies/matrix/impl/timeline/RoomTimelineExtensions.kt 0.00% <0.00%> (ø)
...braries/matrix/impl/timeline/RustMatrixTimeline.kt 0.00% <0.00%> (ø)
...mpl/verification/RustSessionVerificationService.kt 0.00% <0.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@github-actions
Copy link
Contributor

📱 Scan the QR code below to install the build (arm64 only) for this PR.
QR code
If you can't scan the QR code you can install the build via this link: https://i.diawi.com/UgZT7m

buildList {
while (true) {
// Loading the whole membersIterator as a stop-gap measure.
// We should probably implement some sort of paging in the future.
yield()
ensureActive()

Choose a reason for hiding this comment

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

What difference does this make in practice?
(yield calls ensureActive internally)

Copy link
Member Author

Choose a reason for hiding this comment

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

The yield is not working on this scenario, not sure why. Dont have time to investigate more.

@ganfra ganfra merged commit 9e989b5 into develop Sep 20, 2023
@ganfra ganfra deleted the feature/fga/replace_async_uniffi_to_blocking branch September 20, 2023 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Z-NextRelease For issues and PRs which should be included in the NextRelease.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

async-uniffi is causing memory leaks
2 participants