mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 414977 - "insufficient unlink methods in some DOM classes?". Fix for DEBUG_xpc_hacker builds. Not part of the normal build, r+sr+a=jst.
This commit is contained in:
parent
57c4c6eade
commit
372aac713d
@ -191,8 +191,8 @@ static void DEBUG_TrackNewWrapper(XPCWrappedNative* wrapper)
|
||||
static void DEBUG_TrackDeleteWrapper(XPCWrappedNative* wrapper)
|
||||
{
|
||||
#ifdef XPC_CHECK_WRAPPERS_AT_SHUTDOWN
|
||||
if(wrapper->GetRuntime())
|
||||
wrapper->GetRuntime()->DEBUG_RemoveWrappedNative(wrapper);
|
||||
if(nsXPConnect::GetRuntime())
|
||||
nsXPConnect::GetRuntime()->DEBUG_RemoveWrappedNative(wrapper);
|
||||
else
|
||||
NS_ERROR("failed to remove wrapper");
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user