Closed oblique closed 4 years ago
If the future is polled after the tokio runtime is initialized, then it will use the already initialized runtime. Otherwise it will spawn a new one as before.
Ok, maybe this is not a good idea because if current runtime is dropped at some point, everything will stop working. I'm closing the PR.
If the future is polled after the tokio runtime is initialized, then it will use the already initialized runtime. Otherwise it will spawn a new one as before.