lazymio
lazymio
@Vrtgs @stevepryde Reproduction here: https://github.com/wtdcode/thirtyfour_repro
> problem tracked, since you kill the webdriver the drop logic fails, and then falls into infinite tail recursion, fix is just to avoid dropping the session handle once again...
> > and thus making a request in `Drop`! > > The only way to close the browser window is by making a request to the WebDriver server. Are you...
> > 1. Have a centralized background manager of all sessions. > > > > When a session needs to be dropped, it can send a message via channels in...
> > rx.recv().expect("spawned task should be able to be scheduled properly") > > Here `spawn_blocking` will return immediately. This effectively makes the `Drop` being concurrently with other `Drop`. This might...
> > I think it should blocking because it is blocking in other branches, no? > > well, the reason it blocks in other branches is because it can, one...
Addon: can only reproduce on stable toolchain.
> I seem to be unable to reproduce this, what rustc/cargo versions are you on? We are on `cargo 1.87.0 (99624be96 2025-05-06)`
That's why I emphasized `note a cargo clean is crucial to reproduce`
This corresponds to my investigation here: https://github.com/GnomedDev/proc-macro-error-2/issues/12#issuecomment-2888481450 I'm also not sure the root cause and dtolnay seems ignored my PR and related issues, unfortunately. Is it possible to skip related...