remove console statement

This commit is contained in:
Jade (Rose) Rowland 2024-02-04 17:10:43 -05:00
parent 0d3eaf7f9a
commit cea33783a2

View File

@ -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;