{"action":"created","issue":{"url":"https://api.github.com/repos/christkv/mongodb-core/issues/90","repository_url":"https://api.github.com/repos/christkv/mongodb-core","labels_url":"https://api.github.com/repos/christkv/mongodb-core/issues/90/labels{/name}","comments_url":"https://api.github.com/repos/christkv/mongodb-core/issues/90/comments","events_url":"https://api.github.com/repos/christkv/mongodb-core/issues/90/events","html_url":"https://github.com/christkv/mongodb-core/pull/90","id":146719296,"number":90,"title":"fix: only call unref if it exists","user":{"login":"vkarpov15","id":1620265,"avatar_url":"https://avatars.githubusercontent.com/u/1620265?v=3","gravatar_id":"","url":"https://api.github.com/users/vkarpov15","html_url":"https://github.com/vkarpov15","followers_url":"https://api.github.com/users/vkarpov15/followers","following_url":"https://api.github.com/users/vkarpov15/following{/other_user}","gists_url":"https://api.github.com/users/vkarpov15/gists{/gist_id}","starred_url":"https://api.github.com/users/vkarpov15/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vkarpov15/subscriptions","organizations_url":"https://api.github.com/users/vkarpov15/orgs","repos_url":"https://api.github.com/users/vkarpov15/repos","events_url":"https://api.github.com/users/vkarpov15/events{/privacy}","received_events_url":"https://api.github.com/users/vkarpov15/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-07T19:22:42Z","updated_at":"2016-04-07T20:41:49Z","closed_at":"2016-04-07T20:36:29Z","pull_request":{"url":"https://api.github.com/repos/christkv/mongodb-core/pulls/90","html_url":"https://github.com/christkv/mongodb-core/pull/90","diff_url":"https://github.com/christkv/mongodb-core/pull/90.diff","patch_url":"https://github.com/christkv/mongodb-core/pull/90.patch"},"body":"Getting a lot of these errors in node 0.10:\r\n\r\n```\r\nUncaught TypeError: Object #<CleartextStream> has no method 'unref'\r\n      at Connection.destroy (node_modules/mongodb/node_modules/mongodb-core/lib/connection/connection.js:441:21)\r\n      at null.<anonymous> (node_modules/mongodb/node_modules/mongodb-core/lib/connection/pool.js:114:16)\r\n      at CleartextStream.<anonymous> (node_modules/mongodb/node_modules/mongodb-core/lib/connection/connection.js:144:49)\r\n```\r\n\r\nLooks like crypto streams don't have `unref()` in node 0.10: https://github.com/nodejs/node/blob/d6859151a49e6558316dff5620d3ebc4788bc148/lib/tls.js "},"comment":{"url":"https://api.github.com/repos/christkv/mongodb-core/issues/comments/207079874","html_url":"https://github.com/christkv/mongodb-core/pull/90#issuecomment-207079874","issue_url":"https://api.github.com/repos/christkv/mongodb-core/issues/90","id":207079874,"user":{"login":"christkv","id":5569,"avatar_url":"https://avatars.githubusercontent.com/u/5569?v=3","gravatar_id":"","url":"https://api.github.com/users/christkv","html_url":"https://github.com/christkv","followers_url":"https://api.github.com/users/christkv/followers","following_url":"https://api.github.com/users/christkv/following{/other_user}","gists_url":"https://api.github.com/users/christkv/gists{/gist_id}","starred_url":"https://api.github.com/users/christkv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christkv/subscriptions","organizations_url":"https://api.github.com/users/christkv/orgs","repos_url":"https://api.github.com/users/christkv/repos","events_url":"https://api.github.com/users/christkv/events{/privacy}","received_events_url":"https://api.github.com/users/christkv/received_events","type":"User","site_admin":false},"created_at":"2016-04-07T20:41:49Z","updated_at":"2016-04-07T20:41:49Z","body":"2.1.16 published. Typical to run into a thing like this."}}