mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-03-13 17:04:39 -04:00
getBlockingThread_ returns null when none available.
This commit is contained in:
parent
d44b806b4f
commit
405ad1044e
1 changed files with 1 additions and 2 deletions
|
@ -91,7 +91,6 @@ Sequencer.prototype.stepThreads = function (threads) {
|
|||
|
||||
/**
|
||||
* Return the thread blocking all other threads, if one exists.
|
||||
* If not, return false.
|
||||
* @param {Array.<Thread>} threads List of which threads to check.
|
||||
* @return {?Thread} The blocking thread if one exists.
|
||||
*/
|
||||
|
@ -101,7 +100,7 @@ Sequencer.prototype.getBlockingThread_ = function (threads) {
|
|||
return threads[i];
|
||||
}
|
||||
}
|
||||
return false;
|
||||
return null;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue