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

Better signalling server #338

Merged

Conversation

joaoantoniocardoso
Copy link
Collaborator

No description provided.

.expect("Error starting Signalling server");
debug!("Starting SignallingServer task...");

let handle = Some(tokio::spawn(async move {
Copy link
Member

Choose a reason for hiding this comment

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

is it possible for the handle to be None ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It's not. I'm using Option because of the Drop part of the code, which requires the handle to be moved inside the spawned task.

@rafaellehmkuhl
Copy link

rafaellehmkuhl commented Feb 5, 2024

Will this require changes on the client side (e.g.: Cockpit)?

@joaoantoniocardoso
Copy link
Collaborator Author

Will this require changes on the client side (e.g.: Cockpit)?

No, nothing has changed for the clients :)

@patrickelectric patrickelectric merged commit a5d85be into mavlink:master Feb 5, 2024
4 checks passed
@joaoantoniocardoso joaoantoniocardoso deleted the better_signalling_server branch February 5, 2024 21:05
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.

None yet

3 participants