Skip to content

Commit 823daae

Browse files
committed
More tests
1 parent e3ba5b1 commit 823daae

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jderobot-ide-interface",
3-
"version": "0.2.13",
3+
"version": "0.2.14",
44
"main": "dist/main.js",
55
"typings": "dist/index.d.ts",
66
"files": [

src/components/StatusBar/StatusBar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ const DefaultUniverseSelector = ({
228228
};
229229

230230
const checkManager = () => {
231-
if (commsManager === null) {
231+
if (commsManager === null || commsManager.getState() === "idle") {
232232
error("The Robotics Backend is disconnected. Make sure to reconnect.");
233233
throw Error("The Robotics Backend is disconnected. Make sure to reconnect.")
234234
}

0 commit comments

Comments
 (0)