{"action":"opened","issue":{"url":"https://api.github.com/repos/getsentry/raven-go/issues/90","repository_url":"https://api.github.com/repos/getsentry/raven-go","labels_url":"https://api.github.com/repos/getsentry/raven-go/issues/90/labels{/name}","comments_url":"https://api.github.com/repos/getsentry/raven-go/issues/90/comments","events_url":"https://api.github.com/repos/getsentry/raven-go/issues/90/events","html_url":"https://github.com/getsentry/raven-go/issues/90","id":164633934,"number":90,"title":"Leaking goroutines.","user":{"login":"malandrew","id":141789,"avatar_url":"https://avatars.githubusercontent.com/u/141789?v=3","gravatar_id":"","url":"https://api.github.com/users/malandrew","html_url":"https://github.com/malandrew","followers_url":"https://api.github.com/users/malandrew/followers","following_url":"https://api.github.com/users/malandrew/following{/other_user}","gists_url":"https://api.github.com/users/malandrew/gists{/gist_id}","starred_url":"https://api.github.com/users/malandrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malandrew/subscriptions","organizations_url":"https://api.github.com/users/malandrew/orgs","repos_url":"https://api.github.com/users/malandrew/repos","events_url":"https://api.github.com/users/malandrew/events{/privacy}","received_events_url":"https://api.github.com/users/malandrew/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-08T23:18:17Z","updated_at":"2016-07-08T23:18:17Z","closed_at":null,"body":"main.go\r\n```\r\npackage main\r\n```\r\n\r\nmain_test.go\r\n```\r\npackage main\r\n\r\nimport (\r\n\t\"fmt\"\r\n\t\"os\"\r\n\t\"testing\"\r\n\r\n\t_ \"github.com/getsentry/raven-go\"\r\n\r\n\t\"github.com/uber/tchannel-go/testutils/goroutines\"\r\n)\r\n\r\nfunc TestMain(m *testing.M) {\r\n\texitCode := m.Run()\r\n\tif err := goroutines.IdentifyLeaks(nil); err != nil && exitCode == 0 {\r\n\t\tfmt.Fprintf(os.Stderr, \"Found goroutine leaks on successful test run: %v\", err)\r\n\t\texitCode = 1\r\n\t}\r\n\tos.Exit(exitCode)\r\n}\r\n```\r\n\r\n```\r\n$ go test\r\nPASS\r\nFound goroutine leaks on successful test run: found unexpected goroutines:\r\n[Goroutine 5 in state chan receive, with vendor/github.com/getsentry/raven-go.(*Client).worker on top of the stack:\r\ngoroutine 5 [chan receive]:\r\nvendor/github.com/getsentry/raven-go.(*Client).worker(0xc8200be210)\r\n\tvendor/github.com/getsentry/raven-go/client.go:418 +0x60\r\ncreated by vendor/github.com/getsentry/raven-go.newClient\r\n\tvendor/github.com/getsentry/raven-go/client.go:307 +0x193\r\n]FAIL\ttest\t0.913s\r\n```"}}
{"actor":{"display_login":"malandrew"}}