Skip to content
Closed
Changes from 1 commit
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
Next Next commit
debugger: remove obsolete setTimeout
Remove obsolete `setTimeout()` introduced in 3148f14. The fix for the
problem is in b266074. (For the record, I mostly don't know what I'm
talking about here but am summarizing from an IRC #node-dev conversation
with @indutny on 04-Jun-2016.)
  • Loading branch information
Trott committed Jun 6, 2016
commit 909009fbd23e7399a26abc789173b9b6608e696e
10 changes: 3 additions & 7 deletions lib/_debugger.js
Original file line number Diff line number Diff line change
Expand Up @@ -829,13 +829,9 @@ function Interface(stdin, stdout, args) {
// Run script automatically
this.pause();

// XXX Need to figure out why we need this delay
setTimeout(function() {

self.run(function() {
self.resume();
});
}, 10);
self.run(function() {
self.resume();
});
}


Expand Down