{"action":"closed","number":10,"pull_request":{"url":"https://api.github.com/repos/dionyziz/canvas-tetris/pulls/10","id":212656794,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEyNjU2Nzk0","html_url":"https://github.com/dionyziz/canvas-tetris/pull/10","diff_url":"https://github.com/dionyziz/canvas-tetris/pull/10.diff","patch_url":"https://github.com/dionyziz/canvas-tetris/pull/10.patch","issue_url":"https://api.github.com/repos/dionyziz/canvas-tetris/issues/10","number":10,"state":"closed","locked":false,"title":"Stop all intervals to stop resource usage growing out of hand","user":{"login":"kiksen1987","id":10484245,"node_id":"MDQ6VXNlcjEwNDg0MjQ1","avatar_url":"https://avatars0.githubusercontent.com/u/10484245?v=4","gravatar_id":"","url":"https://api.github.com/users/kiksen1987","html_url":"https://github.com/kiksen1987","followers_url":"https://api.github.com/users/kiksen1987/followers","following_url":"https://api.github.com/users/kiksen1987/following{/other_user}","gists_url":"https://api.github.com/users/kiksen1987/gists{/gist_id}","starred_url":"https://api.github.com/users/kiksen1987/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiksen1987/subscriptions","organizations_url":"https://api.github.com/users/kiksen1987/orgs","repos_url":"https://api.github.com/users/kiksen1987/repos","events_url":"https://api.github.com/users/kiksen1987/events{/privacy}","received_events_url":"https://api.github.com/users/kiksen1987/received_events","type":"User","site_admin":false},"body":"For my personal project I created a 5000x5000 size map. I found that the render and tick kept going after the game was lost.\r\n\r\nThe render kept making new intervals instead, thereby using a lot of resources.","created_at":"2018-09-03T07:00:31Z","updated_at":"2018-09-03T11:31:28Z","closed_at":"2018-09-03T11:31:28Z","merged_at":"2018-09-03T11:31:28Z","merge_commit_sha":"628eb7e8cbf05ce9238352acd7517422f76394f9","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/dionyziz/canvas-tetris/pulls/10/commits","review_comments_url":"https://api.github.com/repos/dionyziz/canvas-tetris/pulls/10/comments","review_comment_url":"https://api.github.com/repos/dionyziz/canvas-tetris/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dionyziz/canvas-tetris/issues/10/comments","statuses_url":"https://api.github.com/repos/dionyziz/canvas-tetris/statuses/8ceb073bfe7ea94434e7fc62f387d0ec5b939480","head":{"label":"kiksen1987:master","ref":"master","sha":"8ceb073bfe7ea94434e7fc62f387d0ec5b939480","user":{"login":"kiksen1987","id":10484245,"node_id":"MDQ6VXNlcjEwNDg0MjQ1","avatar_url":"https://avatars0.githubusercontent.com/u/10484245?v=4","gravatar_id":"","url":"https://api.github.com/users/kiksen1987","html_url":"https://github.com/kiksen1987","followers_url":"https://api.github.com/users/kiksen1987/followers","following_url":"https://api.github.com/users/kiksen1987/following{/other_user}","gists_url":"https://api.github.com/users/kiksen1987/gists{/gist_id}","starred_url":"https://api.github.com/users/kiksen1987/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiksen1987/subscriptions","organizations_url":"https://api.github.com/users/kiksen1987/orgs","repos_url":"https://api.github.com/users/kiksen1987/repos","events_url":"https://api.github.com/users/kiksen1987/events{/privacy}","received_events_url":"https://api.github.com/users/kiksen1987/received_events","type":"User","site_admin":false},"repo":{"id":147163926,"node_id":"MDEwOlJlcG9zaXRvcnkxNDcxNjM5MjY=","name":"canvas-tetris","full_name":"kiksen1987/canvas-tetris","owner":{"login":"kiksen1987","id":10484245,"node_id":"MDQ6VXNlcjEwNDg0MjQ1","avatar_url":"https://avatars0.githubusercontent.com/u/10484245?v=4","gravatar_id":"","url":"https://api.github.com/users/kiksen1987","html_url":"https://github.com/kiksen1987","followers_url":"https://api.github.com/users/kiksen1987/followers","following_url":"https://api.github.com/users/kiksen1987/following{/other_user}","gists_url":"https://api.github.com/users/kiksen1987/gists{/gist_id}","starred_url":"https://api.github.com/users/kiksen1987/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiksen1987/subscriptions","organizations_url":"https://api.github.com/users/kiksen1987/orgs","repos_url":"https://api.github.com/users/kiksen1987/repos","events_url":"https://api.github.com/users/kiksen1987/events{/privacy}","received_events_url":"https://api.github.com/users/kiksen1987/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kiksen1987/canvas-tetris","description":"A 2D tetris game in HTML5 canvas","fork":true,"url":"https://api.github.com/repos/kiksen1987/canvas-tetris","forks_url":"https://api.github.com/repos/kiksen1987/canvas-tetris/forks","keys_url":"https://api.github.com/repos/kiksen1987/canvas-tetris/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kiksen1987/canvas-tetris/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kiksen1987/canvas-tetris/teams","hooks_url":"https://api.github.com/repos/kiksen1987/canvas-tetris/hooks","issue_events_url":"https://api.github.com/repos/kiksen1987/canvas-tetris/issues/events{/number}","events_url":"https://api.github.com/repos/kiksen1987/canvas-tetris/events","assignees_url":"https://api.github.com/repos/kiksen1987/canvas-tetris/assignees{/user}","branches_url":"https://api.github.com/repos/kiksen1987/canvas-tetris/branches{/branch}","tags_url":"https://api.github.com/repos/kiksen1987/canvas-tetris/tags","blobs_url":"https://api.github.com/repos/kiksen1987/canvas-tetris/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kiksen1987/canvas-tetris/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kiksen1987/canvas-tetris/git/refs{/sha}","trees_url":"https://api.github.com/repos/kiksen1987/canvas-tetris/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kiksen1987/canvas-tetris/statuses/{sha}","languages_url":"https://api.github.com/repos/kiksen1987/canvas-tetris/languages","stargazers_url":"https://api.github.com/repos/kiksen1987/canvas-tetris/stargazers","contributors_url":"https://api.github.com/repos/kiksen1987/canvas-tetris/contributors","subscribers_url":"https://api.github.com/repos/kiksen1987/canvas-tetris/subscribers","subscription_url":"https://api.github.com/repos/kiksen1987/canvas-tetris/subscription","commits_url":"https://api.github.com/repos/kiksen1987/canvas-tetris/commits{/sha}","git_commits_url":"https://api.github.com/repos/kiksen1987/canvas-tetris/git/commits{/sha}","comments_url":"https://api.github.com/repos/kiksen1987/canvas-tetris/comments{/number}","issue_comment_url":"https://api.github.com/repos/kiksen1987/canvas-tetris/issues/comments{/number}","contents_url":"https://api.github.com/repos/kiksen1987/canvas-tetris/contents/{+path}","compare_url":"https://api.github.com/repos/kiksen1987/canvas-tetris/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kiksen1987/canvas-tetris/merges","archive_url":"https://api.github.com/repos/kiksen1987/canvas-tetris/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kiksen1987/canvas-tetris/downloads","issues_url":"https://api.github.com/repos/kiksen1987/canvas-tetris/issues{/number}","pulls_url":"https://api.github.com/repos/kiksen1987/canvas-tetris/pulls{/number}","milestones_url":"https://api.github.com/repos/kiksen1987/canvas-tetris/milestones{/number}","notifications_url":"https://api.github.com/repos/kiksen1987/canvas-tetris/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kiksen1987/canvas-tetris/labels{/name}","releases_url":"https://api.github.com/repos/kiksen1987/canvas-tetris/releases{/id}","deployments_url":"https://api.github.com/repos/kiksen1987/canvas-tetris/deployments","created_at":"2018-09-03T06:55:31Z","updated_at":"2018-09-03T06:57:11Z","pushed_at":"2018-09-03T06:57:09Z","git_url":"git://github.com/kiksen1987/canvas-tetris.git","ssh_url":"git@github.com:kiksen1987/canvas-tetris.git","clone_url":"https://github.com/kiksen1987/canvas-tetris.git","svn_url":"https://github.com/kiksen1987/canvas-tetris","homepage":"https://dionyziz.com/graphics/canvas-tetris/","size":21,"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":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dionyziz:master","ref":"master","sha":"900f4629586bcf097b8f7c8957eea8625c53721d","user":{"login":"dionyziz","id":544572,"node_id":"MDQ6VXNlcjU0NDU3Mg==","avatar_url":"https://avatars2.githubusercontent.com/u/544572?v=4","gravatar_id":"","url":"https://api.github.com/users/dionyziz","html_url":"https://github.com/dionyziz","followers_url":"https://api.github.com/users/dionyziz/followers","following_url":"https://api.github.com/users/dionyziz/following{/other_user}","gists_url":"https://api.github.com/users/dionyziz/gists{/gist_id}","starred_url":"https://api.github.com/users/dionyziz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dionyziz/subscriptions","organizations_url":"https://api.github.com/users/dionyziz/orgs","repos_url":"https://api.github.com/users/dionyziz/repos","events_url":"https://api.github.com/users/dionyziz/events{/privacy}","received_events_url":"https://api.github.com/users/dionyziz/received_events","type":"User","site_admin":false},"repo":{"id":4410885,"node_id":"MDEwOlJlcG9zaXRvcnk0NDEwODg1","name":"canvas-tetris","full_name":"dionyziz/canvas-tetris","owner":{"login":"dionyziz","id":544572,"node_id":"MDQ6VXNlcjU0NDU3Mg==","avatar_url":"https://avatars2.githubusercontent.com/u/544572?v=4","gravatar_id":"","url":"https://api.github.com/users/dionyziz","html_url":"https://github.com/dionyziz","followers_url":"https://api.github.com/users/dionyziz/followers","following_url":"https://api.github.com/users/dionyziz/following{/other_user}","gists_url":"https://api.github.com/users/dionyziz/gists{/gist_id}","starred_url":"https://api.github.com/users/dionyziz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dionyziz/subscriptions","organizations_url":"https://api.github.com/users/dionyziz/orgs","repos_url":"https://api.github.com/users/dionyziz/repos","events_url":"https://api.github.com/users/dionyziz/events{/privacy}","received_events_url":"https://api.github.com/users/dionyziz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dionyziz/canvas-tetris","description":"A 2D tetris game in HTML5 canvas","fork":false,"url":"https://api.github.com/repos/dionyziz/canvas-tetris","forks_url":"https://api.github.com/repos/dionyziz/canvas-tetris/forks","keys_url":"https://api.github.com/repos/dionyziz/canvas-tetris/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dionyziz/canvas-tetris/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dionyziz/canvas-tetris/teams","hooks_url":"https://api.github.com/repos/dionyziz/canvas-tetris/hooks","issue_events_url":"https://api.github.com/repos/dionyziz/canvas-tetris/issues/events{/number}","events_url":"https://api.github.com/repos/dionyziz/canvas-tetris/events","assignees_url":"https://api.github.com/repos/dionyziz/canvas-tetris/assignees{/user}","branches_url":"https://api.github.com/repos/dionyziz/canvas-tetris/branches{/branch}","tags_url":"https://api.github.com/repos/dionyziz/canvas-tetris/tags","blobs_url":"https://api.github.com/repos/dionyziz/canvas-tetris/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dionyziz/canvas-tetris/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dionyziz/canvas-tetris/git/refs{/sha}","trees_url":"https://api.github.com/repos/dionyziz/canvas-tetris/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dionyziz/canvas-tetris/statuses/{sha}","languages_url":"https://api.github.com/repos/dionyziz/canvas-tetris/languages","stargazers_url":"https://api.github.com/repos/dionyziz/canvas-tetris/stargazers","contributors_url":"https://api.github.com/repos/dionyziz/canvas-tetris/contributors","subscribers_url":"https://api.github.com/repos/dionyziz/canvas-tetris/subscribers","subscription_url":"https://api.github.com/repos/dionyziz/canvas-tetris/subscription","commits_url":"https://api.github.com/repos/dionyziz/canvas-tetris/commits{/sha}","git_commits_url":"https://api.github.com/repos/dionyziz/canvas-tetris/git/commits{/sha}","comments_url":"https://api.github.com/repos/dionyziz/canvas-tetris/comments{/number}","issue_comment_url":"https://api.github.com/repos/dionyziz/canvas-tetris/issues/comments{/number}","contents_url":"https://api.github.com/repos/dionyziz/canvas-tetris/contents/{+path}","compare_url":"https://api.github.com/repos/dionyziz/canvas-tetris/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dionyziz/canvas-tetris/merges","archive_url":"https://api.github.com/repos/dionyziz/canvas-tetris/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dionyziz/canvas-tetris/downloads","issues_url":"https://api.github.com/repos/dionyziz/canvas-tetris/issues{/number}","pulls_url":"https://api.github.com/repos/dionyziz/canvas-tetris/pulls{/number}","milestones_url":"https://api.github.com/repos/dionyziz/canvas-tetris/milestones{/number}","notifications_url":"https://api.github.com/repos/dionyziz/canvas-tetris/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dionyziz/canvas-tetris/labels{/name}","releases_url":"https://api.github.com/repos/dionyziz/canvas-tetris/releases{/id}","deployments_url":"https://api.github.com/repos/dionyziz/canvas-tetris/deployments","created_at":"2012-05-22T18:31:39Z","updated_at":"2018-08-31T10:51:55Z","pushed_at":"2018-09-03T11:31:28Z","git_url":"git://github.com/dionyziz/canvas-tetris.git","ssh_url":"git@github.com:dionyziz/canvas-tetris.git","clone_url":"https://github.com/dionyziz/canvas-tetris.git","svn_url":"https://github.com/dionyziz/canvas-tetris","homepage":"https://dionyziz.com/graphics/canvas-tetris/","size":20,"stargazers_count":275,"watchers_count":275,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":150,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":150,"open_issues":3,"watchers":275,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dionyziz/canvas-tetris/pulls/10"},"html":{"href":"https://github.com/dionyziz/canvas-tetris/pull/10"},"issue":{"href":"https://api.github.com/repos/dionyziz/canvas-tetris/issues/10"},"comments":{"href":"https://api.github.com/repos/dionyziz/canvas-tetris/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/dionyziz/canvas-tetris/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/dionyziz/canvas-tetris/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dionyziz/canvas-tetris/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/dionyziz/canvas-tetris/statuses/8ceb073bfe7ea94434e7fc62f387d0ec5b939480"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"dionyziz","id":544572,"node_id":"MDQ6VXNlcjU0NDU3Mg==","avatar_url":"https://avatars2.githubusercontent.com/u/544572?v=4","gravatar_id":"","url":"https://api.github.com/users/dionyziz","html_url":"https://github.com/dionyziz","followers_url":"https://api.github.com/users/dionyziz/followers","following_url":"https://api.github.com/users/dionyziz/following{/other_user}","gists_url":"https://api.github.com/users/dionyziz/gists{/gist_id}","starred_url":"https://api.github.com/users/dionyziz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dionyziz/subscriptions","organizations_url":"https://api.github.com/users/dionyziz/orgs","repos_url":"https://api.github.com/users/dionyziz/repos","events_url":"https://api.github.com/users/dionyziz/events{/privacy}","received_events_url":"https://api.github.com/users/dionyziz/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":9,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"dionyziz"}}