mirror of
https://github.com/Comfy-Org/desktop.git
synced 2026-11-04 23:47:43 +00:00
[PR #177] [MERGED] [Refactor] Move registerIpcHandlers call out of getInstance #664
Labels
No labels
area: desktop-app
Bounty
bug
bug-cop:answered
bug-cop:response-received
component: installer
component: preload
custom node
dependencies
Design
documentation
duplicate
enhancement
expected
frontend
good first issue
installation
Low-Priority
performance
Planned
platform: cross-platform
platform: windows
Potential Bug
Potential Bug
pull-request
question
refactor
Release
stale
User Support
V1
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/desktop#664
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/desktop/pull/177
Author: @huchenlei
Created: 11/5/2024
Status: ✅ Merged
Merged: 11/5/2024
Merged by: @huchenlei
Base:
main← Head:ipc_move📝 Commits (1)
a779cbc[Refactor] Move registerIpcHandlers call out of getInstance📊 Changes
2 files changed (+3 additions, -2 deletions)
View changed files
📝
src/main.ts(+2 -0)📝
src/models/DownloadManager.ts(+1 -2)📄 Description
registerIpcHandlersis an important lifecycle event that should not depend on whenDownloadManagerinstance is first accessed.Moving the call to main will give us explicit understanding of the lifecycle.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.