BartWillems / YoukeBox-rust

The official YoukeBox-Rust repository
GNU General Public License v3.0
6 stars 0 forks source link

Remove unused room threads #8

Closed BartWillems closed 6 years ago

BartWillems commented 6 years ago

The YoukeBox shouldn't start a thread for every room, only for rooms where there is at least 1 song playing.

When a new song gets pushed, there should be a check to see if we start listening to it or do nothing(in this case, we were already listening).