{"action":"closed","issue":{"url":"https://api.github.com/repos/jacogr/atom-git-control/issues/26","repository_url":"https://api.github.com/repos/jacogr/atom-git-control","labels_url":"https://api.github.com/repos/jacogr/atom-git-control/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/jacogr/atom-git-control/issues/26/comments","events_url":"https://api.github.com/repos/jacogr/atom-git-control/issues/26/events","html_url":"https://github.com/jacogr/atom-git-control/issues/26","id":57651962,"number":26,"title":"Uncaught Error: Repository has been destroyed","user":{"login":"witeshadow","id":17739,"avatar_url":"https://avatars.githubusercontent.com/u/17739?v=3","gravatar_id":"","url":"https://api.github.com/users/witeshadow","html_url":"https://github.com/witeshadow","followers_url":"https://api.github.com/users/witeshadow/followers","following_url":"https://api.github.com/users/witeshadow/following{/other_user}","gists_url":"https://api.github.com/users/witeshadow/gists{/gist_id}","starred_url":"https://api.github.com/users/witeshadow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/witeshadow/subscriptions","organizations_url":"https://api.github.com/users/witeshadow/orgs","repos_url":"https://api.github.com/users/witeshadow/repos","events_url":"https://api.github.com/users/witeshadow/events{/privacy}","received_events_url":"https://api.github.com/users/witeshadow/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jacogr/atom-git-control/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-13T20:48:01Z","updated_at":"2016-04-21T14:07:02Z","closed_at":"2016-04-21T14:07:02Z","body":"[Enter steps to reproduce below:]\r\n\r\n1. ...\r\n2. ...\r\n\r\n**Atom Version**: 0.179.0\r\n**System**: Microsoft Windows 8.1\r\n**Thrown From**: [git-control](https://github.com/jacogr/atom-git-control) package, v0.1.8\r\n\r\n### Stack Trace\r\n\r\nUncaught Error: Repository has been destroyed\r\n\r\n```\r\nAt C:\\Users\\Chris\\AppData\\Local\\atom\\app-0.179.0\\resources\\app\\src\\git-repository.js:382\r\n\r\nError: Repository has been destroyed\r\n  at GitRepository.module.exports.GitRepository.getRepo (C:\\Users\\Chris\\AppData\\Local\\atom\\app-0.179.0\\resources\\app\\src\\git-repository.js:382:15)\r\n  at GitRepository.module.exports.GitRepository.getShortHead (C:\\Users\\Chris\\AppData\\Local\\atom\\app-0.179.0\\resources\\app\\src\\git-repository.js:164:19)\r\n  at Object.module.exports.getLocalBranch (C:\\Users\\Chris\\.atom\\packages\\git-control\\lib\\git.coffee:106:17)\r\n  at GitControlView.module.exports.GitControlView.loadBranches (C:\\Users\\Chris\\.atom\\packages\\git-control\\lib\\git-control-view.coffee:82:27)\r\n  at GitControlView.module.exports.GitControlView.update (C:\\Users\\Chris\\.atom\\packages\\git-control\\lib\\git-control-view.coffee:54:6)\r\n  at Object.module.exports.GitControl.updateViews (C:\\Users\\Chris\\.atom\\packages\\git-control\\lib\\git-control.coffee:44:9)\r\n  at atom-workspace.<anonymous> (C:\\Users\\Chris\\.atom\\packages\\git-control\\lib\\git-control.coffee:17:43)\r\n  at atom-workspace.handler (C:\\Users\\Chris\\AppData\\Local\\atom\\app-0.179.0\\resources\\app\\src\\space-pen-extensions.js:110:34)\r\n  at atom-workspace.jQuery.event.dispatch (C:\\Users\\Chris\\AppData\\Local\\atom\\app-0.179.0\\resources\\app\\node_modules\\space-pen\\vendor\\jquery.js:4681:9)\r\n  at atom-workspace.elemData.handle (C:\\Users\\Chris\\AppData\\Local\\atom\\app-0.179.0\\resources\\app\\node_modules\\space-pen\\vendor\\jquery.js:4359:46)\r\n  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (C:\\Users\\Chris\\AppData\\Local\\atom\\app-0.179.0\\resources\\app\\src\\command-registry.js:243:29)\r\n  at CommandRegistry.handleCommandEvent (C:\\Users\\Chris\\AppData\\Local\\atom\\app-0.179.0\\resources\\app\\src\\command-registry.js:3:61)\r\n  at CommandRegistry.module.exports.CommandRegistry.dispatch (C:\\Users\\Chris\\AppData\\Local\\atom\\app-0.179.0\\resources\\app\\src\\command-registry.js:156:19)\r\n  at PaneContainerView.jQuery.fn.trigger (C:\\Users\\Chris\\AppData\\Local\\atom\\app-0.179.0\\resources\\app\\src\\space-pen-extensions.js:64:23)\r\n  at PaneContainerView.module.exports.PaneContainerView.onActivePaneItemChanged (C:\\Users\\Chris\\AppData\\Local\\atom\\app-0.179.0\\resources\\app\\src\\pane-container-view.js:53:19)\r\n  at C:\\Users\\Chris\\AppData\\Local\\atom\\app-0.179.0\\resources\\app\\src\\pane-container-view.js:3:61\r\n  at Emitter.module.exports.Emitter.emit (C:\\Users\\Chris\\AppData\\Local\\atom\\app-0.179.0\\resources\\app\\node_modules\\event-kit\\lib\\emitter.js:82:11)\r\n  at C:\\Users\\Chris\\AppData\\Local\\atom\\app-0.179.0\\resources\\app\\src\\pane-container.js:347:34\r\n  at Emitter.module.exports.Emitter.emit (C:\\Users\\Chris\\AppData\\Local\\atom\\app-0.179.0\\resources\\app\\node_modules\\event-kit\\lib\\emitter.js:82:11)\r\n  at Pane.module.exports.Pane.setActiveItem (C:\\Users\\Chris\\AppData\\Local\\atom\\app-0.179.0\\resources\\app\\src\\pane.js:264:22)\r\n  at Pane.module.exports.Pane.activateItem (C:\\Users\\Chris\\AppData\\Local\\atom\\app-0.179.0\\resources\\app\\src\\pane.js:328:21)\r\n  at Object.module.exports.GitControl.toggleView (C:\\Users\\Chris\\.atom\\packages\\git-control\\lib\\git-control.coffee:34:12)\r\n  at atom-workspace.<anonymous> (C:\\Users\\Chris\\.atom\\packages\\git-control\\lib\\git-control.coffee:16:48)\r\n  at atom-workspace.handler (C:\\Users\\Chris\\AppData\\Local\\atom\\app-0.179.0\\resources\\app\\src\\space-pen-extensions.js:115:32)\r\n  at atom-workspace.jQuery.event.dispatch (C:\\Users\\Chris\\AppData\\Local\\atom\\app-0.179.0\\resources\\app\\node_modules\\space-pen\\vendor\\jquery.js:4681:9)\r\n  at atom-workspace.elemData.handle (C:\\Users\\Chris\\AppData\\Local\\atom\\app-0.179.0\\resources\\app\\node_modules\\space-pen\\vendor\\jquery.js:4359:46)\r\n  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (C:\\Users\\Chris\\AppData\\Local\\atom\\app-0.179.0\\resources\\app\\src\\command-registry.js:243:29)\r\n  at CommandRegistry.handleCommandEvent (C:\\Users\\Chris\\AppData\\Local\\atom\\app-0.179.0\\resources\\app\\src\\command-registry.js:3:61)\r\n  at CommandRegistry.module.exports.CommandRegistry.dispatch (C:\\Users\\Chris\\AppData\\Local\\atom\\app-0.179.0\\resources\\app\\src\\command-registry.js:156:19)\r\n  at EventEmitter.<anonymous> (C:\\Users\\Chris\\AppData\\Local\\atom\\app-0.179.0\\resources\\app\\src\\window-event-handler.js:65:30)\r\n  at EventEmitter.emit (events.js:116:17)\r\n\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n  2x -5:22.7 git-projects:toggle (div.settings-view.pane-item)\r\n     -4:47.5 core:confirm (atom-text-editor.editor.mini)\r\n  2x -4:16.1 git-control:toggle (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)\r\n     -1:20.5 git-plus:commit (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)\r\n  2x -1:18.0 git-plus:add-all (atom-text-editor.editor)\r\n     -1:07.3 git-plus:commit (atom-text-editor.editor)\r\n     -0:37.5 git-control:toggle (atom-text-editor.editor)\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {\r\n    \"disabledPackages\": [\r\n      \"koala\",\r\n      \"timekeeper\",\r\n      \"tualo-git-context\",\r\n      \"SFTP-deployment\",\r\n      \"Remote-FTP\",\r\n      \"remote-sync\",\r\n      \"recent-projects\"\r\n    ],\r\n    \"projectHome\": \"C:\\\\Users\\\\Chris\\\\Documents\\\\GitHub\\\\\"\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\nautoclose-html, v0.15.0\r\nbuild, v0.23.4\r\ncolor-picker, v1.4.4\r\nevent-watch, v0.5.1\r\ngit-control, v0.1.8\r\ngit-log, v0.2.0\r\ngit-plus, v4.4.2\r\ngit-projects, v1.7.1\r\ngit-tab-status, v1.5.3\r\nhtml-helper, v0.2.3\r\nhtml-id-class-snippets, v1.4.1\r\nhtml-img, v0.3.2\r\nlinter-pylint, v0.2.0\r\nproject-manager, v1.15.5\r\nproject-ring, v0.19.3\r\nremote-edit, v1.6.4\r\nscript, v2.16.0\r\ntree-view-git-projects, v0.2.1\r\nwakatime, v4.0.0\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n\r\n"}}