{"action":"created","issue":{"url":"https://api.github.com/repos/chartjs/Chart.js/issues/4291","repository_url":"https://api.github.com/repos/chartjs/Chart.js","labels_url":"https://api.github.com/repos/chartjs/Chart.js/issues/4291/labels{/name}","comments_url":"https://api.github.com/repos/chartjs/Chart.js/issues/4291/comments","events_url":"https://api.github.com/repos/chartjs/Chart.js/issues/4291/events","html_url":"https://github.com/chartjs/Chart.js/issues/4291","id":231569362,"number":4291,"title":"Possible memory leak","user":{"login":"GabrielMancik","id":12762648,"avatar_url":"https://avatars1.githubusercontent.com/u/12762648?v=4","gravatar_id":"","url":"https://api.github.com/users/GabrielMancik","html_url":"https://github.com/GabrielMancik","followers_url":"https://api.github.com/users/GabrielMancik/followers","following_url":"https://api.github.com/users/GabrielMancik/following{/other_user}","gists_url":"https://api.github.com/users/GabrielMancik/gists{/gist_id}","starred_url":"https://api.github.com/users/GabrielMancik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GabrielMancik/subscriptions","organizations_url":"https://api.github.com/users/GabrielMancik/orgs","repos_url":"https://api.github.com/users/GabrielMancik/repos","events_url":"https://api.github.com/users/GabrielMancik/events{/privacy}","received_events_url":"https://api.github.com/users/GabrielMancik/received_events","type":"User","site_admin":false},"labels":[{"id":32309886,"url":"https://api.github.com/repos/chartjs/Chart.js/labels/Category:%20Enhancement","name":"Category: Enhancement","color":"84b6eb","default":false}],"state":"open","locked":false,"assignee":{"login":"simonbrunel","id":3874900,"avatar_url":"https://avatars2.githubusercontent.com/u/3874900?v=4","gravatar_id":"","url":"https://api.github.com/users/simonbrunel","html_url":"https://github.com/simonbrunel","followers_url":"https://api.github.com/users/simonbrunel/followers","following_url":"https://api.github.com/users/simonbrunel/following{/other_user}","gists_url":"https://api.github.com/users/simonbrunel/gists{/gist_id}","starred_url":"https://api.github.com/users/simonbrunel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonbrunel/subscriptions","organizations_url":"https://api.github.com/users/simonbrunel/orgs","repos_url":"https://api.github.com/users/simonbrunel/repos","events_url":"https://api.github.com/users/simonbrunel/events{/privacy}","received_events_url":"https://api.github.com/users/simonbrunel/received_events","type":"User","site_admin":false},"assignees":[{"login":"simonbrunel","id":3874900,"avatar_url":"https://avatars2.githubusercontent.com/u/3874900?v=4","gravatar_id":"","url":"https://api.github.com/users/simonbrunel","html_url":"https://github.com/simonbrunel","followers_url":"https://api.github.com/users/simonbrunel/followers","following_url":"https://api.github.com/users/simonbrunel/following{/other_user}","gists_url":"https://api.github.com/users/simonbrunel/gists{/gist_id}","starred_url":"https://api.github.com/users/simonbrunel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonbrunel/subscriptions","organizations_url":"https://api.github.com/users/simonbrunel/orgs","repos_url":"https://api.github.com/users/simonbrunel/repos","events_url":"https://api.github.com/users/simonbrunel/events{/privacy}","received_events_url":"https://api.github.com/users/simonbrunel/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/chartjs/Chart.js/milestones/13","html_url":"https://github.com/chartjs/Chart.js/milestone/13","labels_url":"https://api.github.com/repos/chartjs/Chart.js/milestones/13/labels","id":2458676,"number":13,"title":"Version 2.7","description":"","creator":{"login":"etimberg","id":6757853,"avatar_url":"https://avatars3.githubusercontent.com/u/6757853?v=4","gravatar_id":"","url":"https://api.github.com/users/etimberg","html_url":"https://github.com/etimberg","followers_url":"https://api.github.com/users/etimberg/followers","following_url":"https://api.github.com/users/etimberg/following{/other_user}","gists_url":"https://api.github.com/users/etimberg/gists{/gist_id}","starred_url":"https://api.github.com/users/etimberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etimberg/subscriptions","organizations_url":"https://api.github.com/users/etimberg/orgs","repos_url":"https://api.github.com/users/etimberg/repos","events_url":"https://api.github.com/users/etimberg/events{/privacy}","received_events_url":"https://api.github.com/users/etimberg/received_events","type":"User","site_admin":false},"open_issues":39,"closed_issues":120,"state":"open","created_at":"2017-04-15T17:08:57Z","updated_at":"2017-08-02T01:00:39Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2017-05-26T09:11:55Z","updated_at":"2017-08-02T03:33:49Z","closed_at":null,"body":"I have a simple bar chart with one dataset. At this time chart.config.data.datasets[0]._meta contains only one property. When I destroy chart and create new one i would expect that chart.config.data.datasets[0]._meta will still contain only one property but different than before. This is not true. Each time i destroy and recreate chart new property is appended to meta object. \r\n\r\nfiddle example: https://jsfiddle.net/Luaf2tm4/298/"},"comment":{"url":"https://api.github.com/repos/chartjs/Chart.js/issues/comments/319558203","html_url":"https://github.com/chartjs/Chart.js/issues/4291#issuecomment-319558203","issue_url":"https://api.github.com/repos/chartjs/Chart.js/issues/4291","id":319558203,"user":{"login":"benmccann","id":322311,"avatar_url":"https://avatars3.githubusercontent.com/u/322311?v=4","gravatar_id":"","url":"https://api.github.com/users/benmccann","html_url":"https://github.com/benmccann","followers_url":"https://api.github.com/users/benmccann/followers","following_url":"https://api.github.com/users/benmccann/following{/other_user}","gists_url":"https://api.github.com/users/benmccann/gists{/gist_id}","starred_url":"https://api.github.com/users/benmccann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benmccann/subscriptions","organizations_url":"https://api.github.com/users/benmccann/orgs","repos_url":"https://api.github.com/users/benmccann/repos","events_url":"https://api.github.com/users/benmccann/events{/privacy}","received_events_url":"https://api.github.com/users/benmccann/received_events","type":"User","site_admin":false},"created_at":"2017-08-02T03:33:48Z","updated_at":"2017-08-02T03:33:48Z","body":"I think this might be fixed by https://github.com/chartjs/Chart.js/pull/4586 ?"}}
{"actor":{"display_login":"benmccann"}}