{"action":"created","issue":{"url":"https://api.github.com/repos/stripe/sequins/issues/10","labels_url":"https://api.github.com/repos/stripe/sequins/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/stripe/sequins/issues/10/comments","events_url":"https://api.github.com/repos/stripe/sequins/issues/10/events","html_url":"https://github.com/stripe/sequins/pull/10","id":68158307,"number":10,"title":"Fix bug in cleanup code","user":{"login":"praboud","id":747924,"avatar_url":"https://avatars.githubusercontent.com/u/747924?v=3","gravatar_id":"","url":"https://api.github.com/users/praboud","html_url":"https://github.com/praboud","followers_url":"https://api.github.com/users/praboud/followers","following_url":"https://api.github.com/users/praboud/following{/other_user}","gists_url":"https://api.github.com/users/praboud/gists{/gist_id}","starred_url":"https://api.github.com/users/praboud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praboud/subscriptions","organizations_url":"https://api.github.com/users/praboud/orgs","repos_url":"https://api.github.com/users/praboud/repos","events_url":"https://api.github.com/users/praboud/events{/privacy}","received_events_url":"https://api.github.com/users/praboud/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-13T18:04:12Z","updated_at":"2015-04-13T20:44:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/stripe/sequins/pulls/10","html_url":"https://github.com/stripe/sequins/pull/10","diff_url":"https://github.com/stripe/sequins/pull/10.diff","patch_url":"https://github.com/stripe/sequins/pull/10.patch"},"body":"Defer semantics are hard.\r\nI missed that when you call `s.indexReference.Replace(nil).Close()`, the\r\n`Close()` is deferred, but not the `Replace()`.\r\nThis resulted in immediately nilling the index upon starting up the http\r\nserver, which causes the server to panic.\r\n\r\nr? @colinmarc "},"comment":{"url":"https://api.github.com/repos/stripe/sequins/issues/comments/92492960","html_url":"https://github.com/stripe/sequins/pull/10#issuecomment-92492960","issue_url":"https://api.github.com/repos/stripe/sequins/issues/10","id":92492960,"user":{"login":"colinmarc","id":821775,"avatar_url":"https://avatars.githubusercontent.com/u/821775?v=3","gravatar_id":"","url":"https://api.github.com/users/colinmarc","html_url":"https://github.com/colinmarc","followers_url":"https://api.github.com/users/colinmarc/followers","following_url":"https://api.github.com/users/colinmarc/following{/other_user}","gists_url":"https://api.github.com/users/colinmarc/gists{/gist_id}","starred_url":"https://api.github.com/users/colinmarc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colinmarc/subscriptions","organizations_url":"https://api.github.com/users/colinmarc/orgs","repos_url":"https://api.github.com/users/colinmarc/repos","events_url":"https://api.github.com/users/colinmarc/events{/privacy}","received_events_url":"https://api.github.com/users/colinmarc/received_events","type":"User","site_admin":false},"created_at":"2015-04-13T20:44:00Z","updated_at":"2015-04-13T20:44:00Z","body":"cool - I think that's a good idea."}}