{"action":"created","issue":{"url":"https://api.github.com/repos/IjzerenHein/famous-flex/issues/124","labels_url":"https://api.github.com/repos/IjzerenHein/famous-flex/issues/124/labels{/name}","comments_url":"https://api.github.com/repos/IjzerenHein/famous-flex/issues/124/comments","events_url":"https://api.github.com/repos/IjzerenHein/famous-flex/issues/124/events","html_url":"https://github.com/IjzerenHein/famous-flex/issues/124","id":125144766,"number":124,"title":"Surface leakage issue because of Entity.register","user":{"login":"SeanOceanHu","id":3882561,"avatar_url":"https://avatars.githubusercontent.com/u/3882561?v=3","gravatar_id":"","url":"https://api.github.com/users/SeanOceanHu","html_url":"https://github.com/SeanOceanHu","followers_url":"https://api.github.com/users/SeanOceanHu/followers","following_url":"https://api.github.com/users/SeanOceanHu/following{/other_user}","gists_url":"https://api.github.com/users/SeanOceanHu/gists{/gist_id}","starred_url":"https://api.github.com/users/SeanOceanHu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SeanOceanHu/subscriptions","organizations_url":"https://api.github.com/users/SeanOceanHu/orgs","repos_url":"https://api.github.com/users/SeanOceanHu/repos","events_url":"https://api.github.com/users/SeanOceanHu/events{/privacy}","received_events_url":"https://api.github.com/users/SeanOceanHu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-06T09:55:07Z","updated_at":"2016-01-13T07:55:53Z","closed_at":null,"body":"Hi guys,\r\nplease checkout this issue on stackoverflow: http://stackoverflow.com/questions/23623586/how-to-remove-surfaces-from-a-layout?lq=1\r\n\r\nWondering if this also exists in famous-flex ?\r\n\r\nPS. Happy new year :beers: "},"comment":{"url":"https://api.github.com/repos/IjzerenHein/famous-flex/issues/comments/171209405","html_url":"https://github.com/IjzerenHein/famous-flex/issues/124#issuecomment-171209405","issue_url":"https://api.github.com/repos/IjzerenHein/famous-flex/issues/124","id":171209405,"user":{"login":"IjzerenHein","id":6184593,"avatar_url":"https://avatars.githubusercontent.com/u/6184593?v=3","gravatar_id":"","url":"https://api.github.com/users/IjzerenHein","html_url":"https://github.com/IjzerenHein","followers_url":"https://api.github.com/users/IjzerenHein/followers","following_url":"https://api.github.com/users/IjzerenHein/following{/other_user}","gists_url":"https://api.github.com/users/IjzerenHein/gists{/gist_id}","starred_url":"https://api.github.com/users/IjzerenHein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IjzerenHein/subscriptions","organizations_url":"https://api.github.com/users/IjzerenHein/orgs","repos_url":"https://api.github.com/users/IjzerenHein/repos","events_url":"https://api.github.com/users/IjzerenHein/events{/privacy}","received_events_url":"https://api.github.com/users/IjzerenHein/received_events","type":"User","site_admin":false},"created_at":"2016-01-13T07:55:53Z","updated_at":"2016-01-13T07:55:53Z","body":"Famous-flex itself doesn't have such a leak. It doesn't keep track of surfaces or anything in global lookup dictionaries. Famous v3 does so you have to be a bit careful with it. I myself never always create as little surfaces/views as possible and re-use surfaces/views where possible. For instance by putting them in a pool when not needed anymore and re-using those when needed (e.g. for dynamically populated lists).\r\n\r\nDoes that answer your question?"}}