Thank you very much!!
Returning "NSTerminateNow" in the handler works fine me ...
Il giorno 20/mag/2015, alle ore 16.44, Matthew Flatt ha scritto:
> It's been a few years since I last looked at this. If I remember
> correctly, the problem is a mismatch between the `racket/gui` model of
> events
It's been a few years since I last looked at this. If I remember
correctly, the problem is a mismatch between the `racket/gui` model of
eventspaces and the way that shutdown notifications and responses work
in Cocoa. The mismatch makes it difficult for `racket/gui` to defer its
answer to the OS whi
When I try to shutdown my Mac Racket (run from the command line)
cancels the shutdown or logout.
I can install an application-quit-handler (with racket/gui) like this:
;;
;; Operating System Interface Incoming
(define (quit-request)
;; XXX this is called but racket still cancels
3 matches
Mail list logo