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

[Refactor] Move registerIpcHandlers call out of getInstance #177

Merged
merged 1 commit into from
Nov 5, 2024

Conversation

huchenlei
Copy link
Member

registerIpcHandlers is an important lifecycle event that should not depend on when DownloadManager instance is first accessed.

Moving the call to main will give us explicit understanding of the lifecycle.

@huchenlei huchenlei merged commit 4d06e9b into main Nov 5, 2024
6 checks passed
@huchenlei huchenlei deleted the ipc_move branch November 5, 2024 18:30
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.

1 participant