{"action":"opened","issue":{"url":"https://api.github.com/repos/marionettejs/backbone.marionette/issues/2567","labels_url":"https://api.github.com/repos/marionettejs/backbone.marionette/issues/2567/labels{/name}","comments_url":"https://api.github.com/repos/marionettejs/backbone.marionette/issues/2567/comments","events_url":"https://api.github.com/repos/marionettejs/backbone.marionette/issues/2567/events","html_url":"https://github.com/marionettejs/backbone.marionette/issues/2567","id":79213730,"number":2567,"title":"Calling destroy on CompositeView before it is rendered throws an error","user":{"login":"trevorharwell","id":1032065,"avatar_url":"https://avatars.githubusercontent.com/u/1032065?v=3","gravatar_id":"","url":"https://api.github.com/users/trevorharwell","html_url":"https://github.com/trevorharwell","followers_url":"https://api.github.com/users/trevorharwell/followers","following_url":"https://api.github.com/users/trevorharwell/following{/other_user}","gists_url":"https://api.github.com/users/trevorharwell/gists{/gist_id}","starred_url":"https://api.github.com/users/trevorharwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trevorharwell/subscriptions","organizations_url":"https://api.github.com/users/trevorharwell/orgs","repos_url":"https://api.github.com/users/trevorharwell/repos","events_url":"https://api.github.com/users/trevorharwell/events{/privacy}","received_events_url":"https://api.github.com/users/trevorharwell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-22T00:13:18Z","updated_at":"2015-05-22T00:13:18Z","closed_at":null,"body":"```javascript\r\nvar a = new Marionette.CompositeView()\r\na.emptyView = Backbone.View\r\na.childViewContainer = '> tbody'\r\na.destroy()\r\n```\r\nRunning this code throws an error.  I know it may seem silly to construct a view just to destroy it before it is rendered but it is also silly that destroying a CollectionView/Composite view makes them try and construct an empty table view."}}