Skip to content

Commit

Permalink
FIX: macOS: better handling for closing window
Browse files Browse the repository at this point in the history
  • Loading branch information
qtxie committed Jun 25, 2017
1 parent 38e6775 commit 7b3a308
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/view/backends/macOS/gui.reds
Expand Up @@ -220,7 +220,7 @@ free-handles: func [
objc_msgSend [hWnd sel_getUid "close"]
win-cnt: win-cnt - 1
][
objc_msgSend [hWnd sel_getUid "removeFromSuperview"]
unless close-window? [objc_msgSend [hWnd sel_getUid "removeFromSuperview"]]
]

state: values + FACE_OBJ_STATE
Expand Down

0 comments on commit 7b3a308

Please sign in to comment.