Add motorStop patch to stopAll

This commit is contained in:
Tim Mickel 2016-05-03 17:18:28 -04:00
parent 79b50e5172
commit 659c9b274a

View file

@ -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();
}
}; };
/** /**