oggy / tab-switcher

Like a window switcher for your Atom tabs.
MIT License
23 stars 11 forks source link

Uncaught TypeError: Cannot call method 'detach' of undefined #1

Closed omerA closed 9 years ago

omerA commented 10 years ago

I believe this is caused when opening some tabs, and then closing them all.

Here's the stack:

Uncaught TypeError: Cannot call method 'detach' of undefined /Applications/Atom.app/Contents/Resources/app/node_modules/tabs/lib/tab-bar-view.js:149 module.exports.TabBarView.moveItemTabToIndex /Applications/Atom.app/Contents/Resources/app/node_modules/tabs/lib/tab-bar-view.js:149 (anonymous function) /Applications/Atom.app/Contents/Resources/app/node_modules/tabs/lib/tab-bar-view.js:76 jQuery.event.dispatch /Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:4676 elemData.handle /Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:4360 jQuery.event.trigger /Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:4594 (anonymous function) /Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:5119 jQuery.extend.each /Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:590 jQuery.fn.jQuery.each /Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:237 jQuery.fn.extend.trigger /Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:5118 $.fn.trigger command-logger.coffee:31 module.exports.PaneView.onItemMoved /Applications/Atom.app/Contents/Resources/app/src/pane-view.js:318 (anonymous function) /Applications/Atom.app/Contents/Resources/app/src/pane-view.js:3 (anonymous function) /Applications/Atom.app/Contents/Resources/app/node_modules/emissary/lib/emitter.js:133 module.exports.Emitter.emit /Applications/Atom.app/Contents/Resources/app/node_modules/emissary/lib/emitter.js:132 module.exports.Pane.moveItem /Applications/Atom.app/Contents/Resources/app/src/pane.js:243 TabSwitcher.timeout tab-switcher.coffee:15 (anonymous function) tab-switcher.coffee:8