mirror of
https://github.com/Comfy-Org/desktop.git
synced 2026-11-04 23:47:43 +00:00
[PR #695] [MERGED] Fix floating promises #1026
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#1026
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/695
Author: @christian-byrne
Created: 1/22/2025
Status: ✅ Merged
Merged: 1/22/2025
Merged by: @huchenlei
Base:
main← Head:floating-promises📝 Commits (9)
d6c5ff3fix floating promises6e6975erevert suppression of potential unhandled reject0d2b6f7Revert promise rewrap09ae029revert suppression of potential unhandled rejecta7cbcc7catch unhandled reject in about menu click cb84d6df4revert async, catch reject0ee5a4creplace IIFE with catch67043a0add comment deleted inadvertentlya185882Revert off-topic changes📊 Changes
2 files changed (+16 additions, -10 deletions)
View changed files
📝
src/main-process/appWindow.ts(+13 -9)📝
src/main-process/comfyDesktopApp.ts(+3 -1)📄 Description
This PR fixes some floating promises by catching unhandled rejections.
┆Issue is synchronized with this Notion page by Unito
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.