{"action":"created","issue":{"url":"https://api.github.com/repos/plietar/librespot/issues/26","repository_url":"https://api.github.com/repos/plietar/librespot","labels_url":"https://api.github.com/repos/plietar/librespot/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/plietar/librespot/issues/26/comments","events_url":"https://api.github.com/repos/plietar/librespot/issues/26/events","html_url":"https://github.com/plietar/librespot/issues/26","id":124465179,"number":26,"title":"Close stream on stop","user":{"login":"herrernst","id":20795,"avatar_url":"https://avatars.githubusercontent.com/u/20795?v=3","gravatar_id":"","url":"https://api.github.com/users/herrernst","html_url":"https://github.com/herrernst","followers_url":"https://api.github.com/users/herrernst/followers","following_url":"https://api.github.com/users/herrernst/following{/other_user}","gists_url":"https://api.github.com/users/herrernst/gists{/gist_id}","starred_url":"https://api.github.com/users/herrernst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/herrernst/subscriptions","organizations_url":"https://api.github.com/users/herrernst/orgs","repos_url":"https://api.github.com/users/herrernst/repos","events_url":"https://api.github.com/users/herrernst/events{/privacy}","received_events_url":"https://api.github.com/users/herrernst/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2015-12-31T12:11:00Z","updated_at":"2016-06-28T10:07:34Z","closed_at":null,"body":"I've noticed that the audio device keeps staying active even after playback is stopped for example by changing the \"speaker\" back to the playing Spotify app. I suspect this is because the stream stays open because `drop(stream)` is never reached.\r\nI've tried refactoring `stream` to an optional mutable like `decoder` and set `stream = None` on stop in my branch at https://github.com/herrernst/librespot/tree/close-stream-on-stop.\r\nUnfortunately, this most of the time leads to a segmentation fault, see [lldb backtrace](http://pastebin.com/qDD1bGR7), [gdb backtrace](http://pastebin.com/9zjM7P2N).\r\nI am very new to Rust and also don't fully understand player.rs yet.\r\nThanks for your help! I will stop annoying you for now ;)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/plietar/librespot/issues/comments/229007536","html_url":"https://github.com/plietar/librespot/issues/26#issuecomment-229007536","issue_url":"https://api.github.com/repos/plietar/librespot/issues/26","id":229007536,"user":{"login":"joerg-krause","id":6870896,"avatar_url":"https://avatars.githubusercontent.com/u/6870896?v=3","gravatar_id":"","url":"https://api.github.com/users/joerg-krause","html_url":"https://github.com/joerg-krause","followers_url":"https://api.github.com/users/joerg-krause/followers","following_url":"https://api.github.com/users/joerg-krause/following{/other_user}","gists_url":"https://api.github.com/users/joerg-krause/gists{/gist_id}","starred_url":"https://api.github.com/users/joerg-krause/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joerg-krause/subscriptions","organizations_url":"https://api.github.com/users/joerg-krause/orgs","repos_url":"https://api.github.com/users/joerg-krause/repos","events_url":"https://api.github.com/users/joerg-krause/events{/privacy}","received_events_url":"https://api.github.com/users/joerg-krause/received_events","type":"User","site_admin":false},"created_at":"2016-06-28T10:07:34Z","updated_at":"2016-06-28T10:07:34Z","body":"Any news about this?"}}
{"actor":{"display_login":"joerg-krause"}}