kanal icon indicating copy to clipboard operation
kanal copied to clipboard

receiver hangs forever

Open veber-alex opened this issue 2 years ago • 2 comments

https://play.rust-lang.org/?version=stable&mode=release&edition=2021&gist=8c4019721056c7bf7ccfef8f6f4a6d86

This code hangs forever but finishes with std mpsc or crossbeam. Removing the sleep fixes the issue.

veber-alex avatar Oct 17 '22 01:10 veber-alex

Thank you, I'm investigating it.

fereidani avatar Oct 17 '22 07:10 fereidani

There is a race condition that happens sometimes in release builds and not development builds.

fereidani avatar Oct 17 '22 08:10 fereidani

The bug is fixed in the GitHub version, could you please retest and report if you can reproduce the bug or not?

fereidani avatar Oct 20 '22 05:10 fereidani

Feel free to reopen the issue if you been able to reproduce the problem, Thank you for your report

fereidani avatar Oct 23 '22 03:10 fereidani