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

Fixes #33 #34

Closed
wants to merge 1 commit into from
Closed

Fixes #33 #34

wants to merge 1 commit into from

Conversation

xxxserxxx
Copy link
Contributor

Update go to 1.19, to get context; add timeout to getResponse to prevent hangs. Fixes #33.

Calls to the server via SubSonicConnection.getResponse() can hang indefinitely. Because UI events can call getResponse, if the call hangs, so does the UI.

This change adds a timeout context to getResponse, allowing the call to time out and return, and preventing UI hangs. While it may not resolve the server call issue, it does allow users to switch to the log panel and possibly see errors, and also allows users to cleanly exit the program (with q).

@xxxserxxx
Copy link
Contributor Author

And, I'm going to rebase this, so I'm closing this one, too.

@xxxserxxx xxxserxxx closed this Mar 16, 2023
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.

The UI hangs on some content in album/song titles
1 participant