main: exit librespot after the first ctrl+c if no currently active spirc session.
@@ -445,6 +445,8 @@ impl Future for Main {
if !self.shutdown {
if let Some(ref spirc) = self.spirc {
spirc.shutdown();
+ } else {
+ return Ok(Async::Ready(()));
}
self.shutdown = true;
} else {
