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

[Bug] Zenoh continues scouting after session closed #425

Closed
OlivierHecart opened this issue Jan 19, 2023 · 1 comment · Fixed by #426
Closed

[Bug] Zenoh continues scouting after session closed #425

OlivierHecart opened this issue Jan 19, 2023 · 1 comment · Fixed by #426
Labels
bug Something isn't working

Comments

@OlivierHecart
Copy link
Contributor

Describe the bug

After a session is closed, some tasks are left running that periodically send scout messages and reply to scout messages.

To reproduce

  1. Write a program that opens a Zenoh session, closes the Zenoh session and keeps running:
use zenoh::prelude::r#async::*;
#[async_std::main]
async fn main() {
    env_logger::init();
    let session = zenoh::open(Config::default()).res().await.unwrap();
    session.close().res().await.unwrap();
    futures::future::pending::<()>().await;
}
  1. Run the program with orchestrator trace logs enabled:
$ RUST_LOG=zenoh::net::runtime::orchestrator=trace z_open_close

System info

Zenoh v0.7.0-rc (7728f0d)

@OlivierHecart OlivierHecart added the bug Something isn't working label Jan 19, 2023
@OlivierHecart
Copy link
Contributor Author

This is a regression introduced by: 7db53e8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant