You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dtor - broken by upgrading tokio from 1.38.0 to 1.39.1 - use of std::thread::current() is not possible after the thread's local data has been destroyed
#304
in the past I used dtor in combination with tokio to clean up my test environment after the test execution.
Everything worked fine.
But after I removed my Cargo.lock and recreated it, I received alway following message :
thread '<unnamed>' panicked at library/std/src/thread/mod.rs:741:19:
use of std::thread::current() is not possible after the thread's local data has been destroyednote: run with `RUST_BACKTRACE=1` environment variable to display a backtracefatal runtime error: failed to initiate panic, error 5error: test failed, to rerun pass `--test auth`
I'm not sure where the origin of this problem is. Is it a ctor problem or a problem of a other specific async library?
Here you see the diff of my Cargo.lock: https://www.diffchecker.com/N8nESogY/
Sorry for the form, but I found no better solution to provide the differences, without copying them step by step.
T
The text was updated successfully, but these errors were encountered:
Tockra
changed the title
dtor current thread problems since update
dtor - broken by upgrading tokio from 1.38.0 to 1.39.1 - use of std::thread::current() is not possible after the thread's local data has been destroyed
Jul 26, 2024
Hello,
in the past I used dtor in combination with tokio to clean up my test environment after the test execution.
Everything worked fine.
But after I removed my Cargo.lock and recreated it, I received alway following message :
Here the simple testfile:
I'm not sure where the origin of this problem is. Is it a ctor problem or a problem of a other specific async library?
Here you see the diff of my Cargo.lock:
https://www.diffchecker.com/N8nESogY/
Sorry for the form, but I found no better solution to provide the differences, without copying them step by step.
T
The text was updated successfully, but these errors were encountered: