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
Description:
Calling SongBird::join() while already in the voice channel causes a deadlock. The second call to join will never return. Steps to reproduce:
Modify the serenity voice example to call join twice in the join command. The second one should return an error or be idempotent and succeed. Either way it shouldn't deadlock the bot.
Thanks for the detailed bug report! This issue is fixed in the next breaking release by #47.
Until then, you will need to check join state yourself. I hope to have a pre-release up soon -- there were one or two further changes I wanted to fit in, but have been busy with work.
Songbird version: 0.1.6
Rust version (
rustc -V
): 1.51Serenity/Twilight version: 10.5
Features: (Songbird & Serenity)
Description:
Calling SongBird::join() while already in the voice channel causes a deadlock. The second call to join will never return.
Steps to reproduce:
Modify the serenity voice example to call join twice in the
join
command. The second one should return an error or be idempotent and succeed. Either way it shouldn't deadlock the bot.The text was updated successfully, but these errors were encountered: