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

Crash fix #68

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

Crash fix #68

wants to merge 1 commit into from

Conversation

linhanyu
Copy link
Contributor

#65

fix crash problem when opening vim or tmux. Use microtask to asynchronous scroll event handler.It make rebuild progress wouldn't happened in viewportBuilder so [rebuild in rebuild progress] wouldn't happen.

asynchronize scroll event handler.It make rebuild progress wouldn't
happened in viewportBuilder.
@xtyxtyx xtyxtyx self-assigned this Sep 23, 2021
@xtyxtyx
Copy link
Member

xtyxtyx commented Sep 23, 2021

Thanks for the PR!

This PR do fix the issue however I'm concerned that scheduling callbacks frequently with Future.microtask might have have considerable performance overhead. So I would keep this PR open for now and see if there is a better approach.

@linhanyu
Copy link
Contributor Author

Thanks for the PR!

This PR do fix the issue however I'm concerned that scheduling callbacks frequently with Future.microtask might have have considerable performance overhead. So I would keep this PR open for now and see if there is a better approach.

Well, that's true.would make widget tree rebuild twice because non-essential refresh

But I think crash is more unbearable then some performance overhead

luxi78 added a commit to luxi78/xterm.dart that referenced this pull request Mar 6, 2022
@jooy2
Copy link

jooy2 commented Jun 26, 2022

Hello. Could this PR be reconsidered? Almost 100% crashes when using xterm.dart when using application modes like vim or tmux.
Thanks.

@linhanyu
Copy link
Contributor Author

linhanyu commented Jun 26, 2022 via email

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.

None yet

3 participants