{"action":"opened","issue":{"url":"https://api.github.com/repos/t-robop/01-Spica-Android/issues/115","repository_url":"https://api.github.com/repos/t-robop/01-Spica-Android","labels_url":"https://api.github.com/repos/t-robop/01-Spica-Android/issues/115/labels{/name}","comments_url":"https://api.github.com/repos/t-robop/01-Spica-Android/issues/115/comments","events_url":"https://api.github.com/repos/t-robop/01-Spica-Android/issues/115/events","html_url":"https://github.com/t-robop/01-Spica-Android/issues/115","id":374909161,"node_id":"MDU6SXNzdWUzNzQ5MDkxNjE=","number":115,"title":"コマンド送信後のダイアログ・スレッド処理が正常に行われていない時がある","user":{"login":"Dai1678","id":19250035,"node_id":"MDQ6VXNlcjE5MjUwMDM1","avatar_url":"https://avatars2.githubusercontent.com/u/19250035?v=4","gravatar_id":"","url":"https://api.github.com/users/Dai1678","html_url":"https://github.com/Dai1678","followers_url":"https://api.github.com/users/Dai1678/followers","following_url":"https://api.github.com/users/Dai1678/following{/other_user}","gists_url":"https://api.github.com/users/Dai1678/gists{/gist_id}","starred_url":"https://api.github.com/users/Dai1678/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dai1678/subscriptions","organizations_url":"https://api.github.com/users/Dai1678/orgs","repos_url":"https://api.github.com/users/Dai1678/repos","events_url":"https://api.github.com/users/Dai1678/events{/privacy}","received_events_url":"https://api.github.com/users/Dai1678/received_events","type":"User","site_admin":false},"labels":[{"id":1095748629,"node_id":"MDU6TGFiZWwxMDk1NzQ4NjI5","url":"https://api.github.com/repos/t-robop/01-Spica-Android/labels/S%E5%AE%9F%E8%A3%85","name":"S実装","color":"000000","default":false},{"id":943451676,"node_id":"MDU6TGFiZWw5NDM0NTE2NzY=","url":"https://api.github.com/repos/t-robop/01-Spica-Android/labels/bug","name":"bug","color":"d73a4a","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-29T08:40:41Z","updated_at":"2018-10-29T08:40:41Z","closed_at":null,"author_association":"MEMBER","body":"### 概要\r\nコマンド送信後に実行中のダイアログが閉じない\r\n↓\r\nAndroid Studioのモニターのネットワーク状態を確認してみた\r\n- UDP送信は正常に行われている\r\n\r\n[ESP側からの完了通知を受け取れなかった]\r\n1. ダイアログが開いたままなので、キャンセルボタンを押して閉じる\r\n2. おそらくスレッド処理が正常に終了していない\r\n3. また送信処理を開始すると、前のスレッド処理が動いているまま、さらに受信待機になってアプリが重くなる or クラッシュ\r\n\r\n[ESP側からの完了通知が来ているにもかかわらずダイアログが閉じていない]\r\n- モニターのネットワーク状態を見ると、受信データが確認できたにもかかわらずダイアログが閉じられないことがあった\r\n\r\n### 想定される解決策\r\n- コードの全見直し、書き直しも十分ありえる\r\n- Asynctaskとか使うのが普通なのでは..?\r\n\r\n### リンクとか\r\n-\r\n"}}
{"actor":{"display_login":"Dai1678"}}