Skip to content

Fix IINA sometimes takes a few seconds to quit #4227 #4228

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

Merged
merged 1 commit into from
Mar 27, 2023
Merged

Conversation

low-batt
Copy link
Contributor

This commit will change the PlayerCore methods closeMainWindow and errorOpeningFileAndCloseMainWindow to set the isStopped property to true. These methods are called by MPVController when the mpv property idle-active changes to true. This marks idle payers as stopped so that the applicationShouldTerminate method in AppDelegate will detect they are stopped and can be shutdown.


Description:

This commit will change the PlayerCore methods closeMainWindow and
errorOpeningFileAndCloseMainWindow to set the isStopped property to
true. These methods are called by MPVController when the mpv property
idle-active changes to true. This marks idle payers as stopped so that
the applicationShouldTerminate method in AppDelegate will detect they
are stopped and can be shutdown.
@low-batt low-batt linked an issue Feb 20, 2023 that may be closed by this pull request
1 task
@low-batt low-batt requested a review from saagarjha March 15, 2023 02:26
@low-batt low-batt requested a review from uiryuu March 27, 2023 03:51
@uiryuu uiryuu merged commit 0587239 into develop Mar 27, 2023
@uiryuu uiryuu deleted the fix-4227 branch March 27, 2023 05:37
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.

IINA sometimes takes a few seconds to quit
2 participants