Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

munnsmunns
Copy link
Contributor

@munnsmunns munnsmunns commented Jun 27, 2024

Uses textual's LoadingIndicator widget while creating a database. For this to work, the logic for creating a db was moved to a thread worker function.

image

Copy link
Contributor

@shapiromatron shapiromatron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. It worked great on windows but deadlocked on my mac. When I see deadlocks like this I wonder if it's thread related, so I reworked it so that instead of a calling a thread in a thread it's just a single thread using textual's worker protocol. I think it works well now; we'll have to see with future testing.

@shapiromatron shapiromatron merged commit 990b144 into main Jul 9, 2024
@shapiromatron shapiromatron deleted the textual-loading-indicator branch July 9, 2024 19:09
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