{"action":"created","issue":{"url":"https://api.github.com/repos/trustmaster/goflow/issues/30","labels_url":"https://api.github.com/repos/trustmaster/goflow/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/trustmaster/goflow/issues/30/comments","events_url":"https://api.github.com/repos/trustmaster/goflow/issues/30/events","html_url":"https://github.com/trustmaster/goflow/pull/30","id":112376085,"number":30,"title":"Prevent race condition for looper component.","user":{"login":"SpiritMachine","id":562661,"avatar_url":"https://avatars.githubusercontent.com/u/562661?v=3","gravatar_id":"","url":"https://api.github.com/users/SpiritMachine","html_url":"https://github.com/SpiritMachine","followers_url":"https://api.github.com/users/SpiritMachine/followers","following_url":"https://api.github.com/users/SpiritMachine/following{/other_user}","gists_url":"https://api.github.com/users/SpiritMachine/gists{/gist_id}","starred_url":"https://api.github.com/users/SpiritMachine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpiritMachine/subscriptions","organizations_url":"https://api.github.com/users/SpiritMachine/orgs","repos_url":"https://api.github.com/users/SpiritMachine/repos","events_url":"https://api.github.com/users/SpiritMachine/events{/privacy}","received_events_url":"https://api.github.com/users/SpiritMachine/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-20T14:04:20Z","updated_at":"2015-11-06T15:38:18Z","closed_at":"2015-11-06T14:08:28Z","pull_request":{"url":"https://api.github.com/repos/trustmaster/goflow/pulls/30","html_url":"https://github.com/trustmaster/goflow/pull/30","diff_url":"https://github.com/trustmaster/goflow/pull/30.diff","patch_url":"https://github.com/trustmaster/goflow/pull/30.patch"},"body":"```handlersDone.Add(1)``` and ```handlersDone.Wait()``` are both called on _Goroutines_.\r\n\r\nThis doesn't matter for other types of components, because they will block on at ```inputsClose.Wait()```, but this isn't the case for loopers.\r\n\r\nThere is a race condition that causes intermittent panics in ```TestLooper```"},"comment":{"url":"https://api.github.com/repos/trustmaster/goflow/issues/comments/154440573","html_url":"https://github.com/trustmaster/goflow/pull/30#issuecomment-154440573","issue_url":"https://api.github.com/repos/trustmaster/goflow/issues/30","id":154440573,"user":{"login":"SpiritMachine","id":562661,"avatar_url":"https://avatars.githubusercontent.com/u/562661?v=3","gravatar_id":"","url":"https://api.github.com/users/SpiritMachine","html_url":"https://github.com/SpiritMachine","followers_url":"https://api.github.com/users/SpiritMachine/followers","following_url":"https://api.github.com/users/SpiritMachine/following{/other_user}","gists_url":"https://api.github.com/users/SpiritMachine/gists{/gist_id}","starred_url":"https://api.github.com/users/SpiritMachine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpiritMachine/subscriptions","organizations_url":"https://api.github.com/users/SpiritMachine/orgs","repos_url":"https://api.github.com/users/SpiritMachine/repos","events_url":"https://api.github.com/users/SpiritMachine/events{/privacy}","received_events_url":"https://api.github.com/users/SpiritMachine/received_events","type":"User","site_admin":false},"created_at":"2015-11-06T15:38:18Z","updated_at":"2015-11-06T15:38:18Z","body":"No problem, and thank _you_ :+1:"}}