{"comment":{"url":"https://api.github.com/repos/Ranpop/future/comments/13084196","html_url":"https://github.com/Ranpop/future/commit/591075174988bbc24ba878cfab84fd43c552430a#commitcomment-13084196","id":13084196,"user":{"login":"Ranpop","id":8391575,"avatar_url":"https://avatars.githubusercontent.com/u/8391575?v=3","gravatar_id":"","url":"https://api.github.com/users/Ranpop","html_url":"https://github.com/Ranpop","followers_url":"https://api.github.com/users/Ranpop/followers","following_url":"https://api.github.com/users/Ranpop/following{/other_user}","gists_url":"https://api.github.com/users/Ranpop/gists{/gist_id}","starred_url":"https://api.github.com/users/Ranpop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ranpop/subscriptions","organizations_url":"https://api.github.com/users/Ranpop/orgs","repos_url":"https://api.github.com/users/Ranpop/repos","events_url":"https://api.github.com/users/Ranpop/events{/privacy}","received_events_url":"https://api.github.com/users/Ranpop/received_events","type":"User","site_admin":false},"position":62,"line":62,"path":"models/sharechain_debug.js","commit_id":"591075174988bbc24ba878cfab84fd43c552430a","created_at":"2015-09-06T01:08:32Z","updated_at":"2015-09-06T01:08:32Z","body":"+\t\t\t}, function(err, sharechain){\r\n+\t\t\t\tif(err){\r\n+\t\t\t\t\tmongodb.close();\r\n+\t\t\t\t\treturn callback(err);\r\n+\t\t\t\t}\r\n+\t\t\t\t\r\n+\t\t\t\tconsole.log(sharechain);\r\n+\t\t\t\tcallback(null, sharechain);\r\n+\t\t\t});\r\n\r\n成不成功都要把mongodb.close()掉"}}