mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 547316 - Plugin window subclass is not reset when CallNPP_Destroy fails, r=bent
This commit is contained in:
parent
8f8fd2d8d6
commit
3b1352e4df
@ -134,10 +134,8 @@ NPError
|
||||
PluginInstanceParent::Destroy()
|
||||
{
|
||||
NPError retval;
|
||||
if (!CallNPP_Destroy(&retval)) {
|
||||
NS_WARNING("Failed to send message!");
|
||||
return NPERR_GENERIC_ERROR;
|
||||
}
|
||||
if (!CallNPP_Destroy(&retval))
|
||||
retval = NPERR_GENERIC_ERROR;
|
||||
|
||||
#if defined(OS_WIN)
|
||||
SharedSurfaceRelease();
|
||||
|
Loading…
Reference in New Issue
Block a user