{"action":"opened","issue":{"url":"https://api.github.com/repos/IGRSoft/KisMac2/issues/71","labels_url":"https://api.github.com/repos/IGRSoft/KisMac2/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/IGRSoft/KisMac2/issues/71/comments","events_url":"https://api.github.com/repos/IGRSoft/KisMac2/issues/71/events","html_url":"https://github.com/IGRSoft/KisMac2/issues/71","id":105519170,"number":71,"title":"Disconnection of unrelated USB device causes RTL8187 scan to freeze","user":{"login":"orinem","id":11839044,"avatar_url":"https://avatars.githubusercontent.com/u/11839044?v=3","gravatar_id":"","url":"https://api.github.com/users/orinem","html_url":"https://github.com/orinem","followers_url":"https://api.github.com/users/orinem/followers","following_url":"https://api.github.com/users/orinem/following{/other_user}","gists_url":"https://api.github.com/users/orinem/gists{/gist_id}","starred_url":"https://api.github.com/users/orinem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orinem/subscriptions","organizations_url":"https://api.github.com/users/orinem/orgs","repos_url":"https://api.github.com/users/orinem/repos","events_url":"https://api.github.com/users/orinem/events{/privacy}","received_events_url":"https://api.github.com/users/orinem/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-09T04:59:31Z","updated_at":"2015-09-09T04:59:31Z","closed_at":null,"body":"If I unplug an unrelated USB device (an iPhone in my case), the scan freezes - no more packets are recorded.  Stopping the scan and restarting it has no effect.  You have to quit/restart KisMac2 before scan works again.\r\n\r\nIt looks like USBJack::_handleDeviceRemoval gets confused; the last message logged is \"USBJack: Device removed.\".  I will investigate.\r\n"}}