Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Conversation

@zhixzhan
Copy link
Contributor

Description

Bug introduced in #4669, root caused is a long time LG parsing. when editing common.lg, all LG files in this bot will be parse again. when the bot has many lgFiles or some of them is large. The time of re-parsing them could be seconds.
at this moment, if go to another page, composer is reading a middle state, which cause a mangled editing version in LG Editor.

Fix it by split re-parse all to another async thread.

Task Item

refs #4997

Screenshots

@boydc2014 boydc2014 merged commit b3a298d into v1.2.2 Nov 29, 2020
@boydc2014 boydc2014 deleted the zhixzhan/v1.2.2/fix branch November 29, 2020 02:35
benbrown pushed a commit that referenced this pull request Jun 11, 2021
* if changes happen on common.lg, async re-parse all.

* update test
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants