mirror of
https://codeberg.org/uzu/strudel
synced 2026-07-13 06:19:33 -04:00
remove console statement
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user