remove console statement
This commit is contained in:
parent
0d3eaf7f9a
commit
cea33783a2
1 changed files with 1 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue