Commit b65551b3 authored by Felix Paul Kühne's avatar Felix Paul Kühne

mac: fix runtime exception on termination

parent 146b6e39
......@@ -174,11 +174,16 @@ VlcPluginMac::VlcPluginMac(NPP instance, NPuint16_t mode) :
VlcPluginMac::~VlcPluginMac()
{
[fullscreenWindow release];
[playbackLayer release];
[noMediaLayer release];
[controllerLayer release];
[browserRootLayer release];
if (fullscreenWindow)
[fullscreenWindow release];
if (playbackLayer)
[playbackLayer release];
if (noMediaLayer)
[noMediaLayer release];
if (controllerLayer)
[controllerLayer release];
if (browserRootLayer)
[browserRootLayer release];
}
void VlcPluginMac::set_player_window()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment