From 7858df784796528bbe989de701d839f0794c75c0 Mon Sep 17 00:00:00 2001 From: "Val Erastov (xibyte)" Date: Wed, 18 Mar 2020 22:12:57 -0700 Subject: [PATCH] fix infinite loop --- web/app/sketcher/constr/AlgNumSystem.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/sketcher/constr/AlgNumSystem.js b/web/app/sketcher/constr/AlgNumSystem.js index 30c53d0b..a2f42983 100644 --- a/web/app/sketcher/constr/AlgNumSystem.js +++ b/web/app/sketcher/constr/AlgNumSystem.js @@ -270,7 +270,7 @@ export class AlgNumSubSystem { }); } } - if (transaction) { + if (transaction && transaction.functionList.length !== 0) { transaction(); requirePass = true; }