[vlc-devel] [vlc-commits] OSX GUI: don't check for interface pointer

Felix Paul Kühne fkuehne.videolan at googlemail.com
Wed Feb 15 20:51:57 CET 2012


On 15.02.2012, at 20:49, Rafaël Carré wrote:

> OSX GUI: don't check for interface pointer
> 
> It'll be valid the first time this function is called

So, you already gave the reason why this commit is wrong.

applicationWillTerminate can be executed N times, but will crash on the 2nd.

There are currently at least 2 objects pushing the respective notification and the cocoa runtime is allowed to do so as well.


F.


More information about the vlc-devel mailing list