{"action":"created","issue":{"url":"https://api.github.com/repos/ng2-ui/map/issues/159","repository_url":"https://api.github.com/repos/ng2-ui/map","labels_url":"https://api.github.com/repos/ng2-ui/map/issues/159/labels{/name}","comments_url":"https://api.github.com/repos/ng2-ui/map/issues/159/comments","events_url":"https://api.github.com/repos/ng2-ui/map/issues/159/events","html_url":"https://github.com/ng2-ui/map/issues/159","id":234846860,"number":159,"title":"NgUiMap and NgUiMapComponent objects are always available in memory","user":{"login":"rammohan201","id":12894116,"avatar_url":"https://avatars1.githubusercontent.com/u/12894116?v=3","gravatar_id":"","url":"https://api.github.com/users/rammohan201","html_url":"https://github.com/rammohan201","followers_url":"https://api.github.com/users/rammohan201/followers","following_url":"https://api.github.com/users/rammohan201/following{/other_user}","gists_url":"https://api.github.com/users/rammohan201/gists{/gist_id}","starred_url":"https://api.github.com/users/rammohan201/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rammohan201/subscriptions","organizations_url":"https://api.github.com/users/rammohan201/orgs","repos_url":"https://api.github.com/users/rammohan201/repos","events_url":"https://api.github.com/users/rammohan201/events{/privacy}","received_events_url":"https://api.github.com/users/rammohan201/received_events","type":"User","site_admin":false},"labels":[{"id":333414007,"url":"https://api.github.com/repos/ng2-ui/map/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":{"login":"aitboudad","id":1753742,"avatar_url":"https://avatars1.githubusercontent.com/u/1753742?v=3","gravatar_id":"","url":"https://api.github.com/users/aitboudad","html_url":"https://github.com/aitboudad","followers_url":"https://api.github.com/users/aitboudad/followers","following_url":"https://api.github.com/users/aitboudad/following{/other_user}","gists_url":"https://api.github.com/users/aitboudad/gists{/gist_id}","starred_url":"https://api.github.com/users/aitboudad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aitboudad/subscriptions","organizations_url":"https://api.github.com/users/aitboudad/orgs","repos_url":"https://api.github.com/users/aitboudad/repos","events_url":"https://api.github.com/users/aitboudad/events{/privacy}","received_events_url":"https://api.github.com/users/aitboudad/received_events","type":"User","site_admin":false},"assignees":[{"login":"aitboudad","id":1753742,"avatar_url":"https://avatars1.githubusercontent.com/u/1753742?v=3","gravatar_id":"","url":"https://api.github.com/users/aitboudad","html_url":"https://github.com/aitboudad","followers_url":"https://api.github.com/users/aitboudad/followers","following_url":"https://api.github.com/users/aitboudad/following{/other_user}","gists_url":"https://api.github.com/users/aitboudad/gists{/gist_id}","starred_url":"https://api.github.com/users/aitboudad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aitboudad/subscriptions","organizations_url":"https://api.github.com/users/aitboudad/orgs","repos_url":"https://api.github.com/users/aitboudad/repos","events_url":"https://api.github.com/users/aitboudad/events{/privacy}","received_events_url":"https://api.github.com/users/aitboudad/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2017-06-09T14:37:04Z","updated_at":"2017-06-09T15:19:14Z","closed_at":null,"body":"Each visit to maps page is creating new instance of NgUiMap and NgUiMapComponent. This is creating memory leaks. Is this already known issue?\r\n\r\n**Steps to reproduce and a minimal demo**\r\nAdd Map in a page, an application having two atleast two routes.  visit the map page multiple times, check the number of instances of NgUiMap and NgUiMapComponent in memory tab. count is increasing each time.\r\n**Current behavior**\r\nObjects are not cleaned up which is creating memory leaks\r\n  - \r\n\r\n**Expected/desired behavior**\r\nObjects should be cleaned up properly.\r\n  - \r\n\r\n**Other information**\r\n\r\n  - \r\n"},"comment":{"url":"https://api.github.com/repos/ng2-ui/map/issues/comments/307417867","html_url":"https://github.com/ng2-ui/map/issues/159#issuecomment-307417867","issue_url":"https://api.github.com/repos/ng2-ui/map/issues/159","id":307417867,"user":{"login":"ramrealpage","id":28886658,"avatar_url":"https://avatars2.githubusercontent.com/u/28886658?v=3","gravatar_id":"","url":"https://api.github.com/users/ramrealpage","html_url":"https://github.com/ramrealpage","followers_url":"https://api.github.com/users/ramrealpage/followers","following_url":"https://api.github.com/users/ramrealpage/following{/other_user}","gists_url":"https://api.github.com/users/ramrealpage/gists{/gist_id}","starred_url":"https://api.github.com/users/ramrealpage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramrealpage/subscriptions","organizations_url":"https://api.github.com/users/ramrealpage/orgs","repos_url":"https://api.github.com/users/ramrealpage/repos","events_url":"https://api.github.com/users/ramrealpage/events{/privacy}","received_events_url":"https://api.github.com/users/ramrealpage/received_events","type":"User","site_admin":false},"created_at":"2017-06-09T15:19:14Z","updated_at":"2017-06-09T15:19:14Z","body":"I am using \"@ngui/map\": \"^0.18.1\" in my package json"}}
{"actor":{"display_login":"ramrealpage"}}