1 | // https://github.com/tokio-rs/tokio/issues/3550 |
---|---|
2 | fn main() { |
3 | for _ in 0..1000 { |
4 | let rt = tokio::runtime::Builder::new_current_thread() |
5 | .enable_all() |
6 | .build() |
7 | .unwrap(); |
8 | |
9 | drop(rt); |
10 | } |
11 | } |
12 |
1 | // https://github.com/tokio-rs/tokio/issues/3550 |
---|---|
2 | fn main() { |
3 | for _ in 0..1000 { |
4 | let rt = tokio::runtime::Builder::new_current_thread() |
5 | .enable_all() |
6 | .build() |
7 | .unwrap(); |
8 | |
9 | drop(rt); |
10 | } |
11 | } |
12 |