Commit a36be44
committed
Check the number of windows remaining after closing one so that we can exit [NSApp run] after all windows have been closed. This is needed for show() to exit the run loop in non-interactive sessions.
1 parent 1fe5b9c commit a36be44
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5241 | 5241 | | |
5242 | 5242 | | |
5243 | 5243 | | |
| 5244 | + | |
| 5245 | + | |
| 5246 | + | |
| 5247 | + | |
| 5248 | + | |
| 5249 | + | |
| 5250 | + | |
| 5251 | + | |
| 5252 | + | |
| 5253 | + | |
5244 | 5254 | | |
5245 | 5255 | | |
5246 | 5256 | | |
| |||
0 commit comments