Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit 2f13054

Browse files
committed
Merge pull request #7885 from le717/remove-abortquit-check
Remove `brackets.app.abortQuit` checks
2 parents 1ec193d + 9491356 commit 2f13054

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

src/document/DocumentCommandHandlers.js

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1280,10 +1280,7 @@ define(function (require, exports, module) {
12801280
},
12811281
function () {
12821282
// if fail, tell the app to abort any pending quit operation.
1283-
// TODO: remove this if statement when we move to the new CEF3 shell
1284-
if (brackets.app.abortQuit) {
1285-
brackets.app.abortQuit();
1286-
}
1283+
brackets.app.abortQuit();
12871284
}
12881285
);
12891286
}
@@ -1311,10 +1308,7 @@ define(function (require, exports, module) {
13111308
},
13121309
function () {
13131310
// if fail, don't exit: user canceled (or asked us to save changes first, but we failed to do so)
1314-
// TODO: remove this if statement when we move to the new CEF3 shell
1315-
if (brackets.app.abortQuit) {
1316-
brackets.app.abortQuit();
1317-
}
1311+
brackets.app.abortQuit();
13181312
}
13191313
);
13201314
}

0 commit comments

Comments
 (0)