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
examples/capi/applications/cocoa-application.lisp
.
LispWorks Delivery User Guide - 13 Dec 2011