{"action":"created","issue":{"url":"https://api.github.com/repos/xenserver/xenadmin/issues/2018","repository_url":"https://api.github.com/repos/xenserver/xenadmin","labels_url":"https://api.github.com/repos/xenserver/xenadmin/issues/2018/labels{/name}","comments_url":"https://api.github.com/repos/xenserver/xenadmin/issues/2018/comments","events_url":"https://api.github.com/repos/xenserver/xenadmin/issues/2018/events","html_url":"https://github.com/xenserver/xenadmin/pull/2018","id":310026819,"number":2018,"title":"CA-286291: Fix the crash when quickly and repeatedly popping up Migrate-to-Server menu","user":{"login":"michael2012z","id":2103026,"avatar_url":"https://avatars0.githubusercontent.com/u/2103026?v=4","gravatar_id":"","url":"https://api.github.com/users/michael2012z","html_url":"https://github.com/michael2012z","followers_url":"https://api.github.com/users/michael2012z/followers","following_url":"https://api.github.com/users/michael2012z/following{/other_user}","gists_url":"https://api.github.com/users/michael2012z/gists{/gist_id}","starred_url":"https://api.github.com/users/michael2012z/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michael2012z/subscriptions","organizations_url":"https://api.github.com/users/michael2012z/orgs","repos_url":"https://api.github.com/users/michael2012z/repos","events_url":"https://api.github.com/users/michael2012z/events{/privacy}","received_events_url":"https://api.github.com/users/michael2012z/received_events","type":"User","site_admin":false},"labels":[{"id":421470144,"url":"https://api.github.com/repos/xenserver/xenadmin/labels/updated","name":"updated","color":"bfd4f2","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-30T09:55:04Z","updated_at":"2018-04-23T08:58:46Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/xenserver/xenadmin/pulls/2018","html_url":"https://github.com/xenserver/xenadmin/pull/2018","diff_url":"https://github.com/xenserver/xenadmin/pull/2018.diff","patch_url":"https://github.com/xenserver/xenadmin/pull/2018.patch"},"body":"The PR aims to fix the crash when a user pops up Migrate-to-Server menu repeatedly and quickly. The problem is more probable to happen if the server list is long.\r\nThe root cause is two or more threads can be created to update the menu in parallel, if the user operates quickly enough, which definitely lead to a program crash.\r\nThe solution is to guarantee only one thread is working on menu update. If the previous menu has been closed and a new menu is to be made, we need to make sure the previous job quit safely (don't invoke main window any more) before starting a new job.\r\n"},"comment":{"url":"https://api.github.com/repos/xenserver/xenadmin/issues/comments/383504254","html_url":"https://github.com/xenserver/xenadmin/pull/2018#issuecomment-383504254","issue_url":"https://api.github.com/repos/xenserver/xenadmin/issues/2018","id":383504254,"user":{"login":"MihaelaStoica","id":4976784,"avatar_url":"https://avatars2.githubusercontent.com/u/4976784?v=4","gravatar_id":"","url":"https://api.github.com/users/MihaelaStoica","html_url":"https://github.com/MihaelaStoica","followers_url":"https://api.github.com/users/MihaelaStoica/followers","following_url":"https://api.github.com/users/MihaelaStoica/following{/other_user}","gists_url":"https://api.github.com/users/MihaelaStoica/gists{/gist_id}","starred_url":"https://api.github.com/users/MihaelaStoica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MihaelaStoica/subscriptions","organizations_url":"https://api.github.com/users/MihaelaStoica/orgs","repos_url":"https://api.github.com/users/MihaelaStoica/repos","events_url":"https://api.github.com/users/MihaelaStoica/events{/privacy}","received_events_url":"https://api.github.com/users/MihaelaStoica/received_events","type":"User","site_admin":false},"created_at":"2018-04-23T08:58:46Z","updated_at":"2018-04-23T08:58:46Z","author_association":"CONTRIBUTOR","body":"I am merging thi PR now and I'll submit the changes requested by @kc284 on a separate PR."}}
{"actor":{"display_login":"MihaelaStoica"}}