Adding stopAll binding back in after un-rebased merge.

This commit is contained in:
unknown 2019-03-06 13:08:55 -05:00
parent 54ed67ac22
commit 2148e9ead1

View file

@ -69,6 +69,7 @@ class MicroBit {
* @private * @private
*/ */
this._runtime = runtime; this._runtime = runtime;
this._runtime.on('PROJECT_STOP_ALL', this.stopAll.bind(this));
/** /**
* The BluetoothLowEnergy connection socket for reading/writing peripheral data. * The BluetoothLowEnergy connection socket for reading/writing peripheral data.