{"action":"created","issue":{"url":"https://api.github.com/repos/square/spoon/issues/246","labels_url":"https://api.github.com/repos/square/spoon/issues/246/labels{/name}","comments_url":"https://api.github.com/repos/square/spoon/issues/246/comments","events_url":"https://api.github.com/repos/square/spoon/issues/246/events","html_url":"https://github.com/square/spoon/pull/246","id":62310380,"number":246,"title":"Avoid calling adb.terminate()","user":{"login":"roman-mazur","id":307707,"avatar_url":"https://avatars.githubusercontent.com/u/307707?v=3","gravatar_id":"","url":"https://api.github.com/users/roman-mazur","html_url":"https://github.com/roman-mazur","followers_url":"https://api.github.com/users/roman-mazur/followers","following_url":"https://api.github.com/users/roman-mazur/following{/other_user}","gists_url":"https://api.github.com/users/roman-mazur/gists{/gist_id}","starred_url":"https://api.github.com/users/roman-mazur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roman-mazur/subscriptions","organizations_url":"https://api.github.com/users/roman-mazur/orgs","repos_url":"https://api.github.com/users/roman-mazur/repos","events_url":"https://api.github.com/users/roman-mazur/events{/privacy}","received_events_url":"https://api.github.com/users/roman-mazur/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-17T06:52:09Z","updated_at":"2015-03-17T07:23:30Z","closed_at":"2015-03-17T07:14:23Z","pull_request":{"url":"https://api.github.com/repos/square/spoon/pulls/246","html_url":"https://github.com/square/spoon/pull/246","diff_url":"https://github.com/square/spoon/pull/246.diff","patch_url":"https://github.com/square/spoon/pull/246.patch"},"body":"This implementation should be closer to what Android Gradle plugin does.\r\nThey use `initIfNeeded` in `ConnectedDevice` before creating an ADB instance\r\nand do not call `terminate()`.\r\n\r\nTo be honest I haven't tested this thoroughly but I believe it's the correct way.\r\nSee also https://github.com/square/spoon/issues/203#issuecomment-82151163\r\n\r\nThis also should allow to run parallel spoon runner tasks."},"comment":{"url":"https://api.github.com/repos/square/spoon/issues/comments/82178031","html_url":"https://github.com/square/spoon/pull/246#issuecomment-82178031","issue_url":"https://api.github.com/repos/square/spoon/issues/246","id":82178031,"user":{"login":"roman-mazur","id":307707,"avatar_url":"https://avatars.githubusercontent.com/u/307707?v=3","gravatar_id":"","url":"https://api.github.com/users/roman-mazur","html_url":"https://github.com/roman-mazur","followers_url":"https://api.github.com/users/roman-mazur/followers","following_url":"https://api.github.com/users/roman-mazur/following{/other_user}","gists_url":"https://api.github.com/users/roman-mazur/gists{/gist_id}","starred_url":"https://api.github.com/users/roman-mazur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roman-mazur/subscriptions","organizations_url":"https://api.github.com/users/roman-mazur/orgs","repos_url":"https://api.github.com/users/roman-mazur/repos","events_url":"https://api.github.com/users/roman-mazur/events{/privacy}","received_events_url":"https://api.github.com/users/roman-mazur/received_events","type":"User","site_admin":false},"created_at":"2015-03-17T07:23:30Z","updated_at":"2015-03-17T07:23:30Z","body":"Probably you should wait :) I'm also changing `waitForAdb` implementation..."}}