Skip to content

(Minor) Refactor Peer.payInvoice and Peer.payOffer - #879

Merged
pm47 merged 1 commit into
masterfrom
race-peer-helpers
Sep 17, 2026
Merged

pm47 merged 1 commit into
masterfrom
race-peer-helpers

Conversation

@pm47

@pm47 pm47 commented Sep 17, 2026

Copy link
Copy Markdown
Member

PR #875 incidentally fixed a race condition related to delayed subscription, using a launch(start = CoroutineStart.UNDISPATCHED).

We refactor the code to solve the race by construction.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@pm47
pm47 requested review from dpad85 and sstone and removed request for sstone September 17, 2026 12:01
@pm47
pm47 merged commit fead641 into master Sep 17, 2026
3 of 4 checks passed
@pm47
pm47 deleted the race-peer-helpers branch September 17, 2026 14:11
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