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

Commit b8fd540

Browse files
committed
Merge pull request #1854 from DennisKehrig/dk/issue-1526
Bugfix: run AppInit._dispatchReady AFTER loading the extensions
2 parents bbc221d + 5d57b51 commit b8fd540

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/brackets.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,9 @@ define(function (require, exports, module) {
245245
// WARNING: AppInit.appReady won't fire if ANY extension fails to
246246
// load or throws an error during init. To fix this, we need to
247247
// make a change to _initExtensions (filed as issue 1029)
248-
_initExtensions().always(AppInit._dispatchReady(AppInit.APP_READY));
248+
_initExtensions().always(function () {
249+
AppInit._dispatchReady(AppInit.APP_READY);
250+
});
249251

250252
// If this is the first launch, and we have an index.html file in the project folder (which should be
251253
// the samples folder on first launch), open it automatically. (We explicitly check for the

0 commit comments

Comments
 (0)