optimizations on when to do NAT processing

This commit is contained in:
2021-09-30 16:34:26 -06:00
parent 7cdec42351
commit 4162c09433
3 changed files with 4 additions and 4 deletions

View File

@@ -107,7 +107,7 @@
&mut lastCollector
(lambda []
(set lastChangeSet (the ChangeSet (Reflect.callMethod null command.handler collectedArgs)))
(ui.handleChanges archive lastChangeSet))]
(when lastChangeSet (ui.handleChanges archive lastChangeSet)))]
// To facilitate asynchronous arg input via UI, we need to construct an insanely complicated nested callback to give the UI
(doFor arg (reversed command.args)
(set lastCollector (_composeArgCollector collectedArgs arg lastCollector)))