mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Close all windows in AtomApplication.destroy
This commit is contained in:
@@ -100,6 +100,8 @@ class AtomApplication
|
||||
|
||||
destroy: ->
|
||||
@disposable.dispose()
|
||||
for window in @windows
|
||||
window.close()
|
||||
|
||||
openWithOptions: ({initialPaths, pathsToOpen, executedFrom, urlsToOpen, test, pidToKillWhenClosed, devMode, safeMode, newWindow, logFile, profileStartup, timeout, clearWindowState, addToLastWindow, env}) ->
|
||||
if test
|
||||
|
||||
Reference in New Issue
Block a user