remove console statement

This commit is contained in:
Jade (Rose) Rowland
2024-02-04 17:10:43 -05:00
parent 0d3eaf7f9a
commit cea33783a2
+1 -2
View File
@@ -37,7 +37,6 @@ const startClock = () => {
started = true;
};
const stopClock = async () => {
console.log(numPorts);
//dont stop the clock if mutliple instances are using it...
if (!started || numPorts !== 1) {
return;
@@ -79,7 +78,7 @@ const processMessage = (message) => {
}
};
self.onconnect = function (e) {
this.onconnect = function (e) {
// the incoming port
const port = e.ports[0];
numPorts = numPorts + 1;