The application menu's quit callback (that is, the callback normally invoked by Command+Q
) should simply call capi:destroy
with the application interface and should not call lw:quit
directly.
For an example see the Quit Multiple Window CAPI Application menu item in
(example-edit-file "capi/applications/cocoa-application")
LispWorks Delivery User Guide - 10 Aug 2017