mirror of
https://github.com/rivo/tview.git
synced 2026-04-27 05:45:49 +03:00
[GH-ISSUE #416] QueueUpdateDraw & Draw causes deadlock #306
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#306
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tryffel on GitHub (Mar 7, 2020).
Original GitHub issue: https://github.com/rivo/tview/issues/416
I bisected the commit to fe30520.
I use it as such:
Both goroutines are now deadlocked at
application.go:524:
Using go1.14 linux/amd64.
@SoMuchForSubtlety commented on GitHub (Mar 8, 2020):
I noticed a similar issue.
Previously this worked
But now it deadlocks.
I also encountered the ChangedFunc
app.Draw()locking when the application is running. I will try to reproduce it.@sarpdoruk commented on GitHub (Mar 10, 2020):
+1 on this.
Having
app.Draw()inSetChangedFuncoftextViewmakes whole app crash/freeze/unresponsive.@rivo commented on GitHub (Apr 4, 2020):
The latest commit fixes the problem in @SoMuchForSubtlety's code but I'm not completely sure if your issues are also fixed. Please let me know so I can close this issue (again).
@tryffel commented on GitHub (May 6, 2020):
Yes it fixed this. Thanks =)
@miltalex commented on GitHub (Jun 18, 2020):
The issue persists. Using go1.14.1 darwin/amd64 and tview@fe953220389f
@rivo commented on GitHub (Aug 18, 2020):
Can you please paste some code that causes this deadlock?
@rivo commented on GitHub (Jan 11, 2021):
Please open a new issue and reference this one if you want me to follow up on this topic.