mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 920397 part 2 - MessageChannel::~MessageChannel() now asserts that closing the handle succeeded. r=bsmedberg
This commit is contained in:
parent
041acb9024
commit
9b5805c788
@ -76,7 +76,8 @@ MessageChannel::~MessageChannel()
|
||||
MOZ_COUNT_DTOR(ipc::MessageChannel);
|
||||
IPC_ASSERT(mCxxStackFrames.empty(), "mismatched CxxStackFrame ctor/dtors");
|
||||
#ifdef OS_WIN
|
||||
CloseHandle(mEvent);
|
||||
DebugOnly<BOOL> ok = CloseHandle(mEvent);
|
||||
MOZ_ASSERT(ok);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user