LispWorks Delivery User Guide > 6 Delivery on Mac OS X


6.8 Quitting a CAPI/Cocoa application

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 My Application Full menu item in examples/capi/cocoa-application.lisp .

LispWorks Delivery User Guide - 22 Dec 2009