hjiayz / async_once

async once tool for lazy_static
Other
35 stars 3 forks source link

Add a test to check for deadlock #2

Closed bddap closed 2 years ago

bddap commented 2 years ago

The test should complete but it does not.

same issue as https://github.com/hjiayz/async_once/issues/1#issuecomment-990463605

Might be worth looking into whether this happens when both futures are in the same runtime.