diff --git a/src/document/DocumentCommandHandlers.js b/src/document/DocumentCommandHandlers.js index 26320ac8719..9b616ae6700 100644 --- a/src/document/DocumentCommandHandlers.js +++ b/src/document/DocumentCommandHandlers.js @@ -1127,7 +1127,7 @@ define(function (require, exports, module) { return _handleWindowGoingAway( commandData, function () { - window.close(); + brackets.app.quit(); }, function () { // if fail, tell the app to abort any pending quit operation.