{"action":"created","issue":{"url":"https://api.github.com/repos/getlantern/lantern/issues/2732","labels_url":"https://api.github.com/repos/getlantern/lantern/issues/2732/labels{/name}","comments_url":"https://api.github.com/repos/getlantern/lantern/issues/2732/comments","events_url":"https://api.github.com/repos/getlantern/lantern/issues/2732/events","html_url":"https://github.com/getlantern/lantern/pull/2732","id":95015030,"number":2732,"title":"Gets rid of race condition on startup closes #2719","user":{"login":"myleshorton","id":1143966,"avatar_url":"https://avatars.githubusercontent.com/u/1143966?v=3","gravatar_id":"","url":"https://api.github.com/users/myleshorton","html_url":"https://github.com/myleshorton","followers_url":"https://api.github.com/users/myleshorton/followers","following_url":"https://api.github.com/users/myleshorton/following{/other_user}","gists_url":"https://api.github.com/users/myleshorton/gists{/gist_id}","starred_url":"https://api.github.com/users/myleshorton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myleshorton/subscriptions","organizations_url":"https://api.github.com/users/myleshorton/orgs","repos_url":"https://api.github.com/users/myleshorton/repos","events_url":"https://api.github.com/users/myleshorton/events{/privacy}","received_events_url":"https://api.github.com/users/myleshorton/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"atavism","id":6346213,"avatar_url":"https://avatars.githubusercontent.com/u/6346213?v=3","gravatar_id":"","url":"https://api.github.com/users/atavism","html_url":"https://github.com/atavism","followers_url":"https://api.github.com/users/atavism/followers","following_url":"https://api.github.com/users/atavism/following{/other_user}","gists_url":"https://api.github.com/users/atavism/gists{/gist_id}","starred_url":"https://api.github.com/users/atavism/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atavism/subscriptions","organizations_url":"https://api.github.com/users/atavism/orgs","repos_url":"https://api.github.com/users/atavism/repos","events_url":"https://api.github.com/users/atavism/events{/privacy}","received_events_url":"https://api.github.com/users/atavism/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-07-14T19:03:15Z","updated_at":"2015-07-14T22:31:20Z","closed_at":"2015-07-14T21:43:08Z","pull_request":{"url":"https://api.github.com/repos/getlantern/lantern/pulls/2732","html_url":"https://github.com/getlantern/lantern/pull/2732","diff_url":"https://github.com/getlantern/lantern/pull/2732.diff","patch_url":"https://github.com/getlantern/lantern/pull/2732.patch"},"body":"I'm not 100% sure why it seems to fix the issue, but this change removes a race condition on startup that could make the following sequence run in almost any order:\r\n\r\n1. Lantern UI server port comes up\r\n1. Lantern opens browser\r\n1. Lantern proxy server comes up\r\n1. Lantern sets the system proxy\r\n\r\nMy theory is that IE can get confused in some cases depending on the actual order those steps get executed, and in all my testing this change fixes the problem and ensures those steps always proceed as follows:\r\n\r\n1. Lantern UI server port comes up\r\n1. Lantern proxy server comes up\r\n1. Lantern sets the system proxy\r\n1. Lantern opens browser"},"comment":{"url":"https://api.github.com/repos/getlantern/lantern/issues/comments/121412735","html_url":"https://github.com/getlantern/lantern/pull/2732#issuecomment-121412735","issue_url":"https://api.github.com/repos/getlantern/lantern/issues/2732","id":121412735,"user":{"login":"myleshorton","id":1143966,"avatar_url":"https://avatars.githubusercontent.com/u/1143966?v=3","gravatar_id":"","url":"https://api.github.com/users/myleshorton","html_url":"https://github.com/myleshorton","followers_url":"https://api.github.com/users/myleshorton/followers","following_url":"https://api.github.com/users/myleshorton/following{/other_user}","gists_url":"https://api.github.com/users/myleshorton/gists{/gist_id}","starred_url":"https://api.github.com/users/myleshorton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myleshorton/subscriptions","organizations_url":"https://api.github.com/users/myleshorton/orgs","repos_url":"https://api.github.com/users/myleshorton/repos","events_url":"https://api.github.com/users/myleshorton/events{/privacy}","received_events_url":"https://api.github.com/users/myleshorton/received_events","type":"User","site_admin":false},"created_at":"2015-07-14T22:31:20Z","updated_at":"2015-07-14T22:31:20Z","body":"Awesome thanks @atavism!"}}