We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4083caa commit a6cd432Copy full SHA for a6cd432
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "jderobot-commsmanager",
3
- "version": "1.0.5",
+ "version": "1.0.6",
4
"main": "dist/main.js",
5
"typings": "dist/index.d.ts",
6
"scripts": {
src/components/CommsManager.ts
@@ -63,8 +63,10 @@ export default class CommsManager {
63
);
64
} else {
65
console.log(`Connection with ${CommsManager.adress} interrupted`);
66
- delete CommsManager.instance;
67
- CommsManager.instance = new CommsManager();
+ setTimeout(function() {
+ delete CommsManager.instance;
68
+ CommsManager.instance = new CommsManager();
69
+ }, 1000);
70
}
71
};
72
0 commit comments