{"action":"created","issue":{"url":"https://api.github.com/repos/kangax/fabric.js/issues/2883","repository_url":"https://api.github.com/repos/kangax/fabric.js","labels_url":"https://api.github.com/repos/kangax/fabric.js/issues/2883/labels{/name}","comments_url":"https://api.github.com/repos/kangax/fabric.js/issues/2883/comments","events_url":"https://api.github.com/repos/kangax/fabric.js/issues/2883/events","html_url":"https://github.com/kangax/fabric.js/pull/2883","id":147555678,"number":2883,"title":"Events","user":{"login":"asturur","id":1194048,"avatar_url":"https://avatars.githubusercontent.com/u/1194048?v=3","gravatar_id":"","url":"https://api.github.com/users/asturur","html_url":"https://github.com/asturur","followers_url":"https://api.github.com/users/asturur/followers","following_url":"https://api.github.com/users/asturur/following{/other_user}","gists_url":"https://api.github.com/users/asturur/gists{/gist_id}","starred_url":"https://api.github.com/users/asturur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asturur/subscriptions","organizations_url":"https://api.github.com/users/asturur/orgs","repos_url":"https://api.github.com/users/asturur/repos","events_url":"https://api.github.com/users/asturur/events{/privacy}","received_events_url":"https://api.github.com/users/asturur/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-11T21:09:34Z","updated_at":"2016-04-12T15:49:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kangax/fabric.js/pulls/2883","html_url":"https://github.com/kangax/fabric.js/pull/2883","diff_url":"https://github.com/kangax/fabric.js/pull/2883.diff","patch_url":"https://github.com/kangax/fabric.js/pull/2883.patch"},"body":"Modify how event listeners get deactivted."},"comment":{"url":"https://api.github.com/repos/kangax/fabric.js/issues/comments/208973352","html_url":"https://github.com/kangax/fabric.js/pull/2883#issuecomment-208973352","issue_url":"https://api.github.com/repos/kangax/fabric.js/issues/2883","id":208973352,"user":{"login":"inssein","id":882228,"avatar_url":"https://avatars.githubusercontent.com/u/882228?v=3","gravatar_id":"","url":"https://api.github.com/users/inssein","html_url":"https://github.com/inssein","followers_url":"https://api.github.com/users/inssein/followers","following_url":"https://api.github.com/users/inssein/following{/other_user}","gists_url":"https://api.github.com/users/inssein/gists{/gist_id}","starred_url":"https://api.github.com/users/inssein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inssein/subscriptions","organizations_url":"https://api.github.com/users/inssein/orgs","repos_url":"https://api.github.com/users/inssein/repos","events_url":"https://api.github.com/users/inssein/events{/privacy}","received_events_url":"https://api.github.com/users/inssein/received_events","type":"User","site_admin":false},"created_at":"2016-04-12T15:49:58Z","updated_at":"2016-04-12T15:49:58Z","body":"@asturur after reading the code, I am still unsure about this. This is not a new problem, and every library I saw solves this problem the same way, by cloning the array before it loops over to fire the events. Maybe we should just try it and see how big of a performance impact it is."}}