mirror of
https://github.com/nimbold/Firelink.git
synced 2026-08-23 17:29:03 +00:00
fix(properties): harden child window startup and lifecycle
This commit is contained in:
@@ -31,7 +31,9 @@ export function WindowControls({ side, controlStyle }: WindowControlsProps) {
|
||||
onPointerDown={stopTitlebarDrag}
|
||||
onClick={(event) => {
|
||||
event.stopPropagation();
|
||||
void appWindow.close();
|
||||
void appWindow.close().catch(error => {
|
||||
console.error('[WindowControls] close failed', error);
|
||||
});
|
||||
}}
|
||||
>
|
||||
<X size={10} strokeWidth={3} />
|
||||
|
||||
Reference in New Issue
Block a user