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

Resolve Brackets freezing/crashing on windows on reload. #11505

Merged
merged 2 commits into from
Aug 6, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions src/document/DocumentCommandHandlers.js
Original file line number Diff line number Diff line change
@@ -1634,8 +1634,11 @@ define(function (require, exports, module) {
if (fragment !== -1) {
href = href.substr(0, fragment);
}

window.location.href = href;
// Defer for a more successful reload.
setTimeout(function(){
window.location.href = href;
},1000);

});
}).fail(function () {
_isReloading = false;