{"action":"created","issue":{"url":"https://api.github.com/repos/Maluen/Backbone-Debugger/issues/43","labels_url":"https://api.github.com/repos/Maluen/Backbone-Debugger/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/Maluen/Backbone-Debugger/issues/43/comments","events_url":"https://api.github.com/repos/Maluen/Backbone-Debugger/issues/43/events","html_url":"https://github.com/Maluen/Backbone-Debugger/issues/43","id":103474494,"number":43,"title":"Backbone Layoutmanager","user":{"login":"arfa","id":729307,"avatar_url":"https://avatars.githubusercontent.com/u/729307?v=3","gravatar_id":"","url":"https://api.github.com/users/arfa","html_url":"https://github.com/arfa","followers_url":"https://api.github.com/users/arfa/followers","following_url":"https://api.github.com/users/arfa/following{/other_user}","gists_url":"https://api.github.com/users/arfa/gists{/gist_id}","starred_url":"https://api.github.com/users/arfa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arfa/subscriptions","organizations_url":"https://api.github.com/users/arfa/orgs","repos_url":"https://api.github.com/users/arfa/repos","events_url":"https://api.github.com/users/arfa/events{/privacy}","received_events_url":"https://api.github.com/users/arfa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-27T10:17:38Z","updated_at":"2015-08-31T11:07:05Z","closed_at":null,"body":"When I use [Backbone Layoutmanager](https://github.com/tbranyen/backbone.layoutmanager) to manage my views, I come to issue where the remove method does not work as expected.\r\n\r\nIn fact when I remove a layout, the subviews are not deleted and become zombie views.\r\n\r\nI'm talking based on what Backbone-Debugger shows:\r\nthis is what it shows:\r\n![zombies](http://s24.postimg.org/6s5m0efhx/capture1.png)\r\n\r\nand this is what it must show:\r\n![Deleted](http://s24.postimg.org/em67lsnat/capture2.png)\r\n\r\nIn those screenshots **view 3** is the *layout* and the others are subviews.\r\n\r\nI think this issue is mentionned in the section \"Known Limitations\". I open an issue because I think Backbone Layoutmanager is one of the most importants extensions as it helps to manage views and prevent Backbone views to grow up to be Zombies."},"comment":{"url":"https://api.github.com/repos/Maluen/Backbone-Debugger/issues/comments/136336296","html_url":"https://github.com/Maluen/Backbone-Debugger/issues/43#issuecomment-136336296","issue_url":"https://api.github.com/repos/Maluen/Backbone-Debugger/issues/43","id":136336296,"user":{"login":"Maluen","id":1434239,"avatar_url":"https://avatars.githubusercontent.com/u/1434239?v=3","gravatar_id":"","url":"https://api.github.com/users/Maluen","html_url":"https://github.com/Maluen","followers_url":"https://api.github.com/users/Maluen/followers","following_url":"https://api.github.com/users/Maluen/following{/other_user}","gists_url":"https://api.github.com/users/Maluen/gists{/gist_id}","starred_url":"https://api.github.com/users/Maluen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Maluen/subscriptions","organizations_url":"https://api.github.com/users/Maluen/orgs","repos_url":"https://api.github.com/users/Maluen/repos","events_url":"https://api.github.com/users/Maluen/events{/privacy}","received_events_url":"https://api.github.com/users/Maluen/received_events","type":"User","site_admin":false},"created_at":"2015-08-31T11:07:05Z","updated_at":"2015-08-31T11:07:05Z","body":"So what if a subview has a custom \"remove\" method? Won't it be called when doing \"mylayout.remove()\"?\r\n\r\nProbably I'm missing something, otherwise an issue could be opened on the LayoutManager repo, so to always call the remove method."}}