mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 14:32:59 -05:00
Adding TODOs.
This commit is contained in:
parent
5c885911e7
commit
e1e8e57403
2 changed files with 2 additions and 0 deletions
|
@ -200,6 +200,7 @@ class BLE extends JSONRPCWebSocket {
|
||||||
|
|
||||||
if (!this._connected) return;
|
if (!this._connected) return;
|
||||||
|
|
||||||
|
// TODO: Fix branching by splitting up cleanup/disconnect in extension
|
||||||
if (this._disconnectCallback) {
|
if (this._disconnectCallback) {
|
||||||
this._disconnectCallback(); // must call disconnect()
|
this._disconnectCallback(); // must call disconnect()
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -143,6 +143,7 @@ class BT extends JSONRPCWebSocket {
|
||||||
|
|
||||||
if (!this._connected) return;
|
if (!this._connected) return;
|
||||||
|
|
||||||
|
// TODO: Fix branching by splitting up cleanup/disconnect in extension
|
||||||
if (this._disconnectCallback) {
|
if (this._disconnectCallback) {
|
||||||
this._disconnectCallback(); // must call disconnect()
|
this._disconnectCallback(); // must call disconnect()
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue