From 5b6d43e33ddaca1a3f070b5e87eefe071b760c3d Mon Sep 17 00:00:00 2001 From: Mashintime Date: Sun, 5 Feb 2023 01:00:57 -0500 Subject: [PATCH] Small optimization to onData --- gui/sock.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gui/sock.js b/gui/sock.js index 7583981d..f9c916f1 100644 --- a/gui/sock.js +++ b/gui/sock.js @@ -236,6 +236,8 @@ client.on('data', function(socketdata) { }; ipcRenderer.send('request-update-tnc-state', Data); + //continue to next for loop iteration, nothing else needs to be done here + continue; }