mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-24 03:58:53 +00:00
remove console statement
This commit is contained in:
parent
0d3eaf7f9a
commit
cea33783a2
@ -37,7 +37,6 @@ const startClock = () => {
|
|||||||
started = true;
|
started = true;
|
||||||
};
|
};
|
||||||
const stopClock = async () => {
|
const stopClock = async () => {
|
||||||
console.log(numPorts);
|
|
||||||
//dont stop the clock if mutliple instances are using it...
|
//dont stop the clock if mutliple instances are using it...
|
||||||
if (!started || numPorts !== 1) {
|
if (!started || numPorts !== 1) {
|
||||||
return;
|
return;
|
||||||
@ -79,7 +78,7 @@ const processMessage = (message) => {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
self.onconnect = function (e) {
|
this.onconnect = function (e) {
|
||||||
// the incoming port
|
// the incoming port
|
||||||
const port = e.ports[0];
|
const port = e.ports[0];
|
||||||
numPorts = numPorts + 1;
|
numPorts = numPorts + 1;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user