Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BugFix] fix the issue of LynxEngine reload process. #235

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

nhsprite
Copy link
Collaborator

LynxEngine does not support loadTemplate twice now, we need to make some clear logic to ensure loadTemplate twice is safe.

AutoSubmit: true
issue: f-2937567

Summary

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@nhsprite
Copy link
Collaborator Author

/land

@jianliang00
Copy link
Member

🛬 Landing process started! >>243.0

@nhsprite nhsprite force-pushed the p/nihao.royal/fix-reload-issue branch from cd3ecb5 to e4b5ad8 Compare March 10, 2025 06:08
@nhsprite
Copy link
Collaborator Author

/land

@jianliang00
Copy link
Member

🛬 Landing process started! >>244.0

@jianliang00
Copy link
Member

🛬 Landing process started! >>245.0

LynxEngine does not support loadTemplate twice now, we need to make some clear logic to ensure loadTemplate twice is safe.

At the same time, also make some renaming operation for better understanding of lynxTemplateRender:
1. createTemplateAssembler/destroyTemplateAssembler -> createLynxEngine/destroyLynxEngine;
2. this.prepareForRenderTemplate -> this.prepareLynxEngineIfNeeded;

AutoSubmit: true
issue: f-2937567
@nhsprite nhsprite force-pushed the p/nihao.royal/fix-reload-issue branch from e4b5ad8 to 474eef5 Compare March 10, 2025 08:30
@nhsprite
Copy link
Collaborator Author

/land

1 similar comment
@nhsprite
Copy link
Collaborator Author

/land

@jianliang00
Copy link
Member

🛬 Landing process started! >>247.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants