dont keep the application open after the last window is closed on mac
dont keep the application open after the last window is closed on mac