{"action":"created","comment":{"url":"https://api.github.com/repos/cocos-creator/engine/pulls/comments/213903884","pull_request_review_id":150837608,"id":213903884,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMzkwMzg4NA==","diff_hunk":"@@ -167,6 +167,7 @@ let inputManager = {\n      */\n     handleTouchesEnd (touches) {\n         let handleTouches = this.getSetOfTouchesEndOrCancel(touches);\n+        this._preTouchPool.length = 0;","path":"cocos2d/core/platform/CCInputManager.js","position":13,"original_position":13,"commit_id":"342cc7fa7138cfcd3842f44cfe959a323d732451","original_commit_id":"342cc7fa7138cfcd3842f44cfe959a323d732451","user":{"login":"ColinCollins","id":35832931,"node_id":"MDQ6VXNlcjM1ODMyOTMx","avatar_url":"https://avatars3.githubusercontent.com/u/35832931?v=4","gravatar_id":"","url":"https://api.github.com/users/ColinCollins","html_url":"https://github.com/ColinCollins","followers_url":"https://api.github.com/users/ColinCollins/followers","following_url":"https://api.github.com/users/ColinCollins/following{/other_user}","gists_url":"https://api.github.com/users/ColinCollins/gists{/gist_id}","starred_url":"https://api.github.com/users/ColinCollins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ColinCollins/subscriptions","organizations_url":"https://api.github.com/users/ColinCollins/orgs","repos_url":"https://api.github.com/users/ColinCollins/repos","events_url":"https://api.github.com/users/ColinCollins/events{/privacy}","received_events_url":"https://api.github.com/users/ColinCollins/received_events","type":"User","site_admin":false},"body":"好的\r\n","created_at":"2018-08-30T04:57:53Z","updated_at":"2018-08-30T04:57:53Z","html_url":"https://github.com/cocos-creator/engine/pull/3162#discussion_r213903884","pull_request_url":"https://api.github.com/repos/cocos-creator/engine/pulls/3162","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/cocos-creator/engine/pulls/comments/213903884"},"html":{"href":"https://github.com/cocos-creator/engine/pull/3162#discussion_r213903884"},"pull_request":{"href":"https://api.github.com/repos/cocos-creator/engine/pulls/3162"}},"in_reply_to_id":213896601},"pull_request":{"url":"https://api.github.com/repos/cocos-creator/engine/pulls/3162","id":211737106,"node_id":"MDExOlB1bGxSZXF1ZXN0MjExNzM3MTA2","html_url":"https://github.com/cocos-creator/engine/pull/3162","diff_url":"https://github.com/cocos-creator/engine/pull/3162.diff","patch_url":"https://github.com/cocos-creator/engine/pull/3162.patch","issue_url":"https://api.github.com/repos/cocos-creator/engine/issues/3162","number":3162,"state":"open","locked":false,"title":"modify touch event listener clear touches preTouchPool","user":{"login":"ColinCollins","id":35832931,"node_id":"MDQ6VXNlcjM1ODMyOTMx","avatar_url":"https://avatars3.githubusercontent.com/u/35832931?v=4","gravatar_id":"","url":"https://api.github.com/users/ColinCollins","html_url":"https://github.com/ColinCollins","followers_url":"https://api.github.com/users/ColinCollins/followers","following_url":"https://api.github.com/users/ColinCollins/following{/other_user}","gists_url":"https://api.github.com/users/ColinCollins/gists{/gist_id}","starred_url":"https://api.github.com/users/ColinCollins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ColinCollins/subscriptions","organizations_url":"https://api.github.com/users/ColinCollins/orgs","repos_url":"https://api.github.com/users/ColinCollins/repos","events_url":"https://api.github.com/users/ColinCollins/events{/privacy}","received_events_url":"https://api.github.com/users/ColinCollins/received_events","type":"User","site_admin":false},"body":"fix: http://forum.cocos.com/t/touchstart/65198\r\n\r\n内容修复：\r\n_preTouchesPool 数组在 handleTouchesEnd 状态时没有清空，导致下一次点击时上一次点击事件的 preLoaction 残留，引起 PreviourLoaction 错误。\r\n","created_at":"2018-08-29T12:35:48Z","updated_at":"2018-08-30T04:57:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7ae659abc047dcc7ea781bc88b5f8256d02263f9","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/cocos-creator/engine/pulls/3162/commits","review_comments_url":"https://api.github.com/repos/cocos-creator/engine/pulls/3162/comments","review_comment_url":"https://api.github.com/repos/cocos-creator/engine/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cocos-creator/engine/issues/3162/comments","statuses_url":"https://api.github.com/repos/cocos-creator/engine/statuses/342cc7fa7138cfcd3842f44cfe959a323d732451","head":{"label":"ColinCollins:touchesPool","ref":"touchesPool","sha":"342cc7fa7138cfcd3842f44cfe959a323d732451","user":{"login":"ColinCollins","id":35832931,"node_id":"MDQ6VXNlcjM1ODMyOTMx","avatar_url":"https://avatars3.githubusercontent.com/u/35832931?v=4","gravatar_id":"","url":"https://api.github.com/users/ColinCollins","html_url":"https://github.com/ColinCollins","followers_url":"https://api.github.com/users/ColinCollins/followers","following_url":"https://api.github.com/users/ColinCollins/following{/other_user}","gists_url":"https://api.github.com/users/ColinCollins/gists{/gist_id}","starred_url":"https://api.github.com/users/ColinCollins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ColinCollins/subscriptions","organizations_url":"https://api.github.com/users/ColinCollins/orgs","repos_url":"https://api.github.com/users/ColinCollins/repos","events_url":"https://api.github.com/users/ColinCollins/events{/privacy}","received_events_url":"https://api.github.com/users/ColinCollins/received_events","type":"User","site_admin":false},"repo":{"id":123052100,"node_id":"MDEwOlJlcG9zaXRvcnkxMjMwNTIxMDA=","name":"engine","full_name":"ColinCollins/engine","owner":{"login":"ColinCollins","id":35832931,"node_id":"MDQ6VXNlcjM1ODMyOTMx","avatar_url":"https://avatars3.githubusercontent.com/u/35832931?v=4","gravatar_id":"","url":"https://api.github.com/users/ColinCollins","html_url":"https://github.com/ColinCollins","followers_url":"https://api.github.com/users/ColinCollins/followers","following_url":"https://api.github.com/users/ColinCollins/following{/other_user}","gists_url":"https://api.github.com/users/ColinCollins/gists{/gist_id}","starred_url":"https://api.github.com/users/ColinCollins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ColinCollins/subscriptions","organizations_url":"https://api.github.com/users/ColinCollins/orgs","repos_url":"https://api.github.com/users/ColinCollins/repos","events_url":"https://api.github.com/users/ColinCollins/events{/privacy}","received_events_url":"https://api.github.com/users/ColinCollins/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ColinCollins/engine","description":"The engine for Cocos Creator","fork":true,"url":"https://api.github.com/repos/ColinCollins/engine","forks_url":"https://api.github.com/repos/ColinCollins/engine/forks","keys_url":"https://api.github.com/repos/ColinCollins/engine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ColinCollins/engine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ColinCollins/engine/teams","hooks_url":"https://api.github.com/repos/ColinCollins/engine/hooks","issue_events_url":"https://api.github.com/repos/ColinCollins/engine/issues/events{/number}","events_url":"https://api.github.com/repos/ColinCollins/engine/events","assignees_url":"https://api.github.com/repos/ColinCollins/engine/assignees{/user}","branches_url":"https://api.github.com/repos/ColinCollins/engine/branches{/branch}","tags_url":"https://api.github.com/repos/ColinCollins/engine/tags","blobs_url":"https://api.github.com/repos/ColinCollins/engine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ColinCollins/engine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ColinCollins/engine/git/refs{/sha}","trees_url":"https://api.github.com/repos/ColinCollins/engine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ColinCollins/engine/statuses/{sha}","languages_url":"https://api.github.com/repos/ColinCollins/engine/languages","stargazers_url":"https://api.github.com/repos/ColinCollins/engine/stargazers","contributors_url":"https://api.github.com/repos/ColinCollins/engine/contributors","subscribers_url":"https://api.github.com/repos/ColinCollins/engine/subscribers","subscription_url":"https://api.github.com/repos/ColinCollins/engine/subscription","commits_url":"https://api.github.com/repos/ColinCollins/engine/commits{/sha}","git_commits_url":"https://api.github.com/repos/ColinCollins/engine/git/commits{/sha}","comments_url":"https://api.github.com/repos/ColinCollins/engine/comments{/number}","issue_comment_url":"https://api.github.com/repos/ColinCollins/engine/issues/comments{/number}","contents_url":"https://api.github.com/repos/ColinCollins/engine/contents/{+path}","compare_url":"https://api.github.com/repos/ColinCollins/engine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ColinCollins/engine/merges","archive_url":"https://api.github.com/repos/ColinCollins/engine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ColinCollins/engine/downloads","issues_url":"https://api.github.com/repos/ColinCollins/engine/issues{/number}","pulls_url":"https://api.github.com/repos/ColinCollins/engine/pulls{/number}","milestones_url":"https://api.github.com/repos/ColinCollins/engine/milestones{/number}","notifications_url":"https://api.github.com/repos/ColinCollins/engine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ColinCollins/engine/labels{/name}","releases_url":"https://api.github.com/repos/ColinCollins/engine/releases{/id}","deployments_url":"https://api.github.com/repos/ColinCollins/engine/deployments","created_at":"2018-02-27T01:02:34Z","updated_at":"2018-08-21T11:58:16Z","pushed_at":"2018-08-30T03:49:18Z","git_url":"git://github.com/ColinCollins/engine.git","ssh_url":"git@github.com:ColinCollins/engine.git","clone_url":"https://github.com/ColinCollins/engine.git","svn_url":"https://github.com/ColinCollins/engine","homepage":"http://www.cocos2d-x.org/creator","size":37405,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cocos-creator:v2.0-release","ref":"v2.0-release","sha":"07ec50ebab3ea7f33f1320332ffb5f014125a969","user":{"login":"cocos-creator","id":6937061,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY5MzcwNjE=","avatar_url":"https://avatars3.githubusercontent.com/u/6937061?v=4","gravatar_id":"","url":"https://api.github.com/users/cocos-creator","html_url":"https://github.com/cocos-creator","followers_url":"https://api.github.com/users/cocos-creator/followers","following_url":"https://api.github.com/users/cocos-creator/following{/other_user}","gists_url":"https://api.github.com/users/cocos-creator/gists{/gist_id}","starred_url":"https://api.github.com/users/cocos-creator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cocos-creator/subscriptions","organizations_url":"https://api.github.com/users/cocos-creator/orgs","repos_url":"https://api.github.com/users/cocos-creator/repos","events_url":"https://api.github.com/users/cocos-creator/events{/privacy}","received_events_url":"https://api.github.com/users/cocos-creator/received_events","type":"Organization","site_admin":false},"repo":{"id":47440536,"node_id":"MDEwOlJlcG9zaXRvcnk0NzQ0MDUzNg==","name":"engine","full_name":"cocos-creator/engine","owner":{"login":"cocos-creator","id":6937061,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY5MzcwNjE=","avatar_url":"https://avatars3.githubusercontent.com/u/6937061?v=4","gravatar_id":"","url":"https://api.github.com/users/cocos-creator","html_url":"https://github.com/cocos-creator","followers_url":"https://api.github.com/users/cocos-creator/followers","following_url":"https://api.github.com/users/cocos-creator/following{/other_user}","gists_url":"https://api.github.com/users/cocos-creator/gists{/gist_id}","starred_url":"https://api.github.com/users/cocos-creator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cocos-creator/subscriptions","organizations_url":"https://api.github.com/users/cocos-creator/orgs","repos_url":"https://api.github.com/users/cocos-creator/repos","events_url":"https://api.github.com/users/cocos-creator/events{/privacy}","received_events_url":"https://api.github.com/users/cocos-creator/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cocos-creator/engine","description":"The engine for Cocos Creator","fork":false,"url":"https://api.github.com/repos/cocos-creator/engine","forks_url":"https://api.github.com/repos/cocos-creator/engine/forks","keys_url":"https://api.github.com/repos/cocos-creator/engine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cocos-creator/engine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cocos-creator/engine/teams","hooks_url":"https://api.github.com/repos/cocos-creator/engine/hooks","issue_events_url":"https://api.github.com/repos/cocos-creator/engine/issues/events{/number}","events_url":"https://api.github.com/repos/cocos-creator/engine/events","assignees_url":"https://api.github.com/repos/cocos-creator/engine/assignees{/user}","branches_url":"https://api.github.com/repos/cocos-creator/engine/branches{/branch}","tags_url":"https://api.github.com/repos/cocos-creator/engine/tags","blobs_url":"https://api.github.com/repos/cocos-creator/engine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cocos-creator/engine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cocos-creator/engine/git/refs{/sha}","trees_url":"https://api.github.com/repos/cocos-creator/engine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cocos-creator/engine/statuses/{sha}","languages_url":"https://api.github.com/repos/cocos-creator/engine/languages","stargazers_url":"https://api.github.com/repos/cocos-creator/engine/stargazers","contributors_url":"https://api.github.com/repos/cocos-creator/engine/contributors","subscribers_url":"https://api.github.com/repos/cocos-creator/engine/subscribers","subscription_url":"https://api.github.com/repos/cocos-creator/engine/subscription","commits_url":"https://api.github.com/repos/cocos-creator/engine/commits{/sha}","git_commits_url":"https://api.github.com/repos/cocos-creator/engine/git/commits{/sha}","comments_url":"https://api.github.com/repos/cocos-creator/engine/comments{/number}","issue_comment_url":"https://api.github.com/repos/cocos-creator/engine/issues/comments{/number}","contents_url":"https://api.github.com/repos/cocos-creator/engine/contents/{+path}","compare_url":"https://api.github.com/repos/cocos-creator/engine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cocos-creator/engine/merges","archive_url":"https://api.github.com/repos/cocos-creator/engine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cocos-creator/engine/downloads","issues_url":"https://api.github.com/repos/cocos-creator/engine/issues{/number}","pulls_url":"https://api.github.com/repos/cocos-creator/engine/pulls{/number}","milestones_url":"https://api.github.com/repos/cocos-creator/engine/milestones{/number}","notifications_url":"https://api.github.com/repos/cocos-creator/engine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cocos-creator/engine/labels{/name}","releases_url":"https://api.github.com/repos/cocos-creator/engine/releases{/id}","deployments_url":"https://api.github.com/repos/cocos-creator/engine/deployments","created_at":"2015-12-05T03:28:59Z","updated_at":"2018-08-30T03:41:05Z","pushed_at":"2018-08-30T04:04:57Z","git_url":"git://github.com/cocos-creator/engine.git","ssh_url":"git@github.com:cocos-creator/engine.git","clone_url":"https://github.com/cocos-creator/engine.git","svn_url":"https://github.com/cocos-creator/engine","homepage":"http://www.cocos2d-x.org/creator","size":37521,"stargazers_count":663,"watchers_count":663,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":437,"mirror_url":null,"archived":false,"open_issues_count":114,"license":null,"forks":437,"open_issues":114,"watchers":663,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cocos-creator/engine/pulls/3162"},"html":{"href":"https://github.com/cocos-creator/engine/pull/3162"},"issue":{"href":"https://api.github.com/repos/cocos-creator/engine/issues/3162"},"comments":{"href":"https://api.github.com/repos/cocos-creator/engine/issues/3162/comments"},"review_comments":{"href":"https://api.github.com/repos/cocos-creator/engine/pulls/3162/comments"},"review_comment":{"href":"https://api.github.com/repos/cocos-creator/engine/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cocos-creator/engine/pulls/3162/commits"},"statuses":{"href":"https://api.github.com/repos/cocos-creator/engine/statuses/342cc7fa7138cfcd3842f44cfe959a323d732451"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"ColinCollins"}}