{"action":"created","issue":{"url":"https://api.github.com/repos/swoole/swoole-src/issues/707","repository_url":"https://api.github.com/repos/swoole/swoole-src","labels_url":"https://api.github.com/repos/swoole/swoole-src/issues/707/labels{/name}","comments_url":"https://api.github.com/repos/swoole/swoole-src/issues/707/comments","events_url":"https://api.github.com/repos/swoole/swoole-src/issues/707/events","html_url":"https://github.com/swoole/swoole-src/issues/707","id":157346821,"number":707,"title":"swoole_redis在connect_callback中调用close方法导致corodump","user":{"login":"neesenk","id":479152,"avatar_url":"https://avatars.githubusercontent.com/u/479152?v=3","gravatar_id":"","url":"https://api.github.com/users/neesenk","html_url":"https://github.com/neesenk","followers_url":"https://api.github.com/users/neesenk/followers","following_url":"https://api.github.com/users/neesenk/following{/other_user}","gists_url":"https://api.github.com/users/neesenk/gists{/gist_id}","starred_url":"https://api.github.com/users/neesenk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neesenk/subscriptions","organizations_url":"https://api.github.com/users/neesenk/orgs","repos_url":"https://api.github.com/users/neesenk/repos","events_url":"https://api.github.com/users/neesenk/events{/privacy}","received_events_url":"https://api.github.com/users/neesenk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-28T16:41:47Z","updated_at":"2016-05-30T10:24:08Z","closed_at":null,"body":"测试代码\r\n```PHP\r\n<?php\r\n\r\nfor ($i = 0; $i < 2; $i++) {\r\n    $redis = new \\swoole_redis();\r\n    $redis->on('close', function ($cli) {\r\n        echo \"redis close\\n\";\r\n    });\r\n\r\n    $redis->connect('127.0.0.1', 6379, function ($cli, $result) {\r\n        echo \"connect result ===> \";\r\n        var_dump($result);\r\n    \r\n        $cli->close();\r\n    });\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/swoole/swoole-src/issues/comments/222462333","html_url":"https://github.com/swoole/swoole-src/issues/707#issuecomment-222462333","issue_url":"https://api.github.com/repos/swoole/swoole-src/issues/707","id":222462333,"user":{"login":"matyhtf","id":2017766,"avatar_url":"https://avatars.githubusercontent.com/u/2017766?v=3","gravatar_id":"","url":"https://api.github.com/users/matyhtf","html_url":"https://github.com/matyhtf","followers_url":"https://api.github.com/users/matyhtf/followers","following_url":"https://api.github.com/users/matyhtf/following{/other_user}","gists_url":"https://api.github.com/users/matyhtf/gists{/gist_id}","starred_url":"https://api.github.com/users/matyhtf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matyhtf/subscriptions","organizations_url":"https://api.github.com/users/matyhtf/orgs","repos_url":"https://api.github.com/users/matyhtf/repos","events_url":"https://api.github.com/users/matyhtf/events{/privacy}","received_events_url":"https://api.github.com/users/matyhtf/received_events","type":"User","site_admin":false},"created_at":"2016-05-30T10:24:08Z","updated_at":"2016-05-30T10:24:08Z","body":"可能是hiredis的BUG，需要进一步确认。"}}
{"actor":{"display_login":"matyhtf"}}