macosx: Fix crash when deinitializing PLModel
authorDavid Fuhrmann <dfuhrmann@videolan.org>
Tue, 11 Aug 2015 17:14:59 +0000 (19:14 +0200)
committerDavid Fuhrmann <dfuhrmann@videolan.org>
Tue, 11 Aug 2015 18:17:57 +0000 (20:17 +0200)
commit3d3878d3c5699b92667144b3a60584a58255e8e0
tree8f22a4d6e48192657d778eddad02bc3d8a5a3ca5
parente5940f08f1f77df53b3c4db13ac5e6fe66edb1dc
macosx: Fix crash when deinitializing PLModel

Only self should be used as callback parameters. Otherwise,
depending on the destruction order the original object might be
deinitialized already.
modules/gui/macosx/PLModel.m