{"action":"closed","issue":{"url":"https://api.github.com/repos/atom/atom/issues/9233","labels_url":"https://api.github.com/repos/atom/atom/issues/9233/labels{/name}","comments_url":"https://api.github.com/repos/atom/atom/issues/9233/comments","events_url":"https://api.github.com/repos/atom/atom/issues/9233/events","html_url":"https://github.com/atom/atom/issues/9233","id":112441374,"number":9233,"title":"--profile-startup flag doesn't record a profile when launching Atom for the first time with no path","user":{"login":"izuzak","id":38924,"avatar_url":"https://avatars.githubusercontent.com/u/38924?v=3","gravatar_id":"","url":"https://api.github.com/users/izuzak","html_url":"https://github.com/izuzak","followers_url":"https://api.github.com/users/izuzak/followers","following_url":"https://api.github.com/users/izuzak/following{/other_user}","gists_url":"https://api.github.com/users/izuzak/gists{/gist_id}","starred_url":"https://api.github.com/users/izuzak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/izuzak/subscriptions","organizations_url":"https://api.github.com/users/izuzak/orgs","repos_url":"https://api.github.com/users/izuzak/repos","events_url":"https://api.github.com/users/izuzak/events{/privacy}","received_events_url":"https://api.github.com/users/izuzak/received_events","type":"User","site_admin":true},"labels":[{"url":"https://api.github.com/repos/atom/atom/labels/bug","name":"bug","color":"f7c6c7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-20T19:19:29Z","updated_at":"2015-10-21T02:54:35Z","closed_at":"2015-10-21T02:54:35Z","body":"More context here: https://github.com/atom/docs/pull/136#issuecomment-149606128\r\n\r\n@kevinsawicki mentioned:\r\n\r\n> Hmm, I wonder if the timeout needs to be bumped in https://github.com/atom/atom/blob/806b46bb6c981f110a34ed20f566de50288900d0/static/index.js#L143-L145\r\n\r\n> There seemed to be issues in past Electron versions where you needed to wait a bit to start profiling after the devtools opened event fired.\r\n\r\nI tried bumping the timeout to 500ms and that did fix the problem for me. But I'm not sure what a good timeout would be so opening this to track the issue.\r\n\r\ncc @kevinsawicki @nathansobo "}}