mirror of
https://github.com/atom/atom.git
synced 2026-02-13 16:14:59 -05:00
Let 'atom --wait -a folder' exit due to removing the project folder
This commit is contained in:
@@ -888,6 +888,7 @@ class AtomApplication extends EventEmitter {
|
||||
|
||||
windowDidCloseInitialPath (window, initialPath) {
|
||||
const waitSessions = this.waitSessionsByWindow.get(window)
|
||||
if (!waitSessions) return
|
||||
for (let i = waitSessions.length - 1; i >= 0; i--) {
|
||||
const session = waitSessions[i]
|
||||
session.remainingPaths.delete(initialPath)
|
||||
|
||||
Reference in New Issue
Block a user