mirror of
https://github.com/atom/atom.git
synced 2026-01-22 21:38:10 -05:00
Guard against global project being null
This commit is contained in:
@@ -280,5 +280,5 @@ class RootView extends View
|
||||
# Private: Destroys everything.
|
||||
remove: ->
|
||||
editor.remove() for editor in @getEditors()
|
||||
project.destroy()
|
||||
project?.destroy()
|
||||
super
|
||||
|
||||
Reference in New Issue
Block a user