-
Notifications
You must be signed in to change notification settings - Fork 24
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
Create a lock struct for the mls groups #1413
Conversation
0529705
to
e748ab5
Compare
e748ab5
to
61ce53e
Compare
xmtp_mls/src/groups/serial.rs
Outdated
.clone(); | ||
|
||
// this may block | ||
let lock = mutex.blocking_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.
Do we ever use this variant?
I'm surprised the webassembly tests pass, under the hood this uses futures::block_on
which will panic the WASM executor. I suspect we maybe don't have any webassembly tests that use code touching 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.
We do not, it's just there in case it's used in the future.
Going to close my PR in favor of @cameronvoell's PR which seems to fix the root issue #1416 |
No description provided.