]> git.sesse.net Git - vlc/commit
macosx: implement libvlc exit handler to properly terminate the app when requested
authorDavid Fuhrmann <david.fuhrmann@googlemail.com>
Sun, 2 Feb 2014 17:18:07 +0000 (18:18 +0100)
committerDavid Fuhrmann <david.fuhrmann@googlemail.com>
Mon, 3 Feb 2014 13:57:43 +0000 (14:57 +0100)
commitf36dcf5a5cfeb0b7af7035f3dc95aab75a3a1fa5
treecb13c3848c6975ea1b556c65603c2664309be3fd
parent254a5ee275d526364e7eebb1ae63c0fb71127f16
macosx: implement libvlc exit handler to properly terminate the app when requested

This is the only supported way to terminate an cocoa application and also ensure
that the gui settings are getting saved. Adapted from similar code in the qt
module.
bin/darwinvlc.c
modules/gui/macosx/intf.m