mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-07-07 03:24:04 -04:00
Add motorStop patch to stopAll
This commit is contained in:
parent
79b50e5172
commit
659c9b274a
1 changed files with 3 additions and 0 deletions
|
@ -297,6 +297,9 @@ Runtime.prototype.stopAll = function () {
|
||||||
this._removeThread(threadsCopy.pop());
|
this._removeThread(threadsCopy.pop());
|
||||||
}
|
}
|
||||||
// @todo call stop function in all extensions/packages/WeDo stub
|
// @todo call stop function in all extensions/packages/WeDo stub
|
||||||
|
if (window.native) {
|
||||||
|
window.native.motorStop();
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue