Skip to content

Fix window close hang on macOS - #70

Open
utafrali wants to merge 1 commit into
appshubcc:mainfrom
utafrali:fix/issue-68-bug-macos-bettbox
Open

utafrali wants to merge 1 commit into
appshubcc:mainfrom
utafrali:fix/issue-68-bug-macos-bettbox

Conversation

@utafrali

Copy link
Copy Markdown
Contributor

Fixes #68. The window wouldn't close on macOS because the exit handler was waiting indefinitely for some async operations. Added 5-second timeouts to prevent any of them from blocking the shutdown. Also had to unblock the back button state before handling the exit.

@appshubcc

Copy link
Copy Markdown
Owner

This may have some effect, but it won't be the real reason

@appshubcc

Copy link
Copy Markdown
Owner

Have you tested it on macOS yet? or I'll try another way later

@utafrali

Copy link
Copy Markdown
Contributor Author

Haven't tested on macOS yet, but fair point - probably not the root cause. Go ahead and investigate if you want.

@appshubcc
appshubcc force-pushed the main branch 2 times, most recently from b9361df to c9593e0 Compare June 8, 2026 05:44
@appshubcc
appshubcc force-pushed the main branch 2 times, most recently from 7fc30ae to d12a095 Compare June 26, 2026 06:25
@appshubcc
appshubcc force-pushed the main branch 3 times, most recently from 9fa80ff to 9ecb877 Compare July 5, 2026 09:59
@appshubcc
appshubcc force-pushed the main branch 2 times, most recently from 6280e0f to d05cf43 Compare July 7, 2026 01:35
@appshubcc
appshubcc force-pushed the main branch 2 times, most recently from bb605a0 to 570c649 Compare July 18, 2026 17:07
@appshubcc
appshubcc force-pushed the main branch 2 times, most recently from 95bde57 to c0bb574 Compare August 13, 2026 04:12
@appshubcc
appshubcc force-pushed the main branch 3 times, most recently from df4e906 to 335c065 Compare September 9, 2026 15:31
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.

[Bug]: macos Bettbox 窗口无法关闭

2 participants