Skip to content

Conversation

@Shubham8287
Copy link
Contributor

Description of Changes

Please describe your change, mention any related tickets, and so on here.

API and ABI breaking changes

If this is an API or ABI breaking change, please apply the
corresponding GitHub label.

Expected complexity level and risk

How complicated do you think these changes are? Grade on a scale from 1 to 5,
where 1 is a trivial change, and 5 is a deep-reaching and complex change.

This complexity rating applies not only to the complexity apparent in the diff,
but also to its interactions with existing and future code.

If you answered more than a 2, explain what is complex about the PR,
and what other components it interacts with in potentially concerning ways.

@Shubham8287 Shubham8287 force-pushed the shub/fix-disconnect-deadlock branch from e06013a to 1ac2c8d Compare February 23, 2024 19:43
}

pub async fn disconnect_client(&self, client_id: ClientActorId) {
tokio::join!(
Copy link
Collaborator

Choose a reason for hiding this comment

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

Oh, it looks like they were never really concurrent anyway. I don't know why I thought they were; remove_subscriber is not an async function.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

lol, anyway this doesn't solve the deadlock, but anyway we can merge it?

@coolreader18 coolreader18 added this pull request to the merge queue Feb 26, 2024
Merged via the queue into master with commit 2886864 Feb 26, 2024
@coolreader18 coolreader18 deleted the shub/fix-disconnect-deadlock branch March 13, 2024 19:16
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.

3 participants