From 2bf719cc3e769a4a12e56e4dc122f6dfb40ba32d 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; }