Clear menu template to avoid separator duplication

This commit is contained in:
Matt Colyer 2013-10-18 11:34:19 -07:00
parent 2ec6d578f6
commit 9ea2bfa920

View File

@ -111,6 +111,7 @@ afterEach ->
keymap.bindingSets = bindingSetsToRestore
keymap.bindingSetsByFirstKeystroke = bindingSetsByFirstKeystrokeToRestore
atom.deactivatePackages()
atom.menu.template = []
window.rootView?.remove?()
atom.rootView?.remove?() if atom.rootView isnt window.rootView