Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I run this project on my computer today, hoping to integrate it into my project later, but I found this issue.
When I resize the window quickly for about 5 seconds, it crashes like this.
And it takes me about three hours trying to figure out what's wrong. Finally, I changed these lines of codes and unexpectedly soved this problem. So I opened this PR.
P.S. I also tried to comment
::lv_refr_now(CurrentDisplay);
, but it doesn't work. The result is as follows.Environment Information:
Windows 10 LTSC 10.0.19044
Intel(R) Core(TM) i7-4720HQ CPU @ 2.60GHz
Microsoft Visual Studio Community 2022
Microsoft Visual C++ 2022
lvgl/lv_port_pc_visual_studio@master
lvgl/lvgl@0f9ee575
freetype/freetype@8f255c89
dlg@72dfcc85