From e1e8e57403ab0720bff8f66209eec88f1b975b83 Mon Sep 17 00:00:00 2001 From: Evelyn Eastmond Date: Wed, 16 Jan 2019 16:08:15 -0500 Subject: [PATCH] Adding TODOs. --- src/io/ble.js | 1 + src/io/bt.js | 1 + 2 files changed, 2 insertions(+) diff --git a/src/io/ble.js b/src/io/ble.js index ac90f3476..74fded844 100644 --- a/src/io/ble.js +++ b/src/io/ble.js @@ -200,6 +200,7 @@ class BLE extends JSONRPCWebSocket { if (!this._connected) return; + // TODO: Fix branching by splitting up cleanup/disconnect in extension if (this._disconnectCallback) { this._disconnectCallback(); // must call disconnect() } else { diff --git a/src/io/bt.js b/src/io/bt.js index ff398466b..8091bed27 100644 --- a/src/io/bt.js +++ b/src/io/bt.js @@ -143,6 +143,7 @@ class BT extends JSONRPCWebSocket { if (!this._connected) return; + // TODO: Fix branching by splitting up cleanup/disconnect in extension if (this._disconnectCallback) { this._disconnectCallback(); // must call disconnect() } else {