mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 835287: Give up ref to TransportFlow to runnable meant to release it r=ekr
This commit is contained in:
parent
dc5200d225
commit
be6d3801fc
@ -164,7 +164,7 @@ DataChannelConnection::~DataChannelConnection()
|
||||
// TransportFlows must be released from the STS thread
|
||||
if (mTransportFlow && !IsSTSThread()) {
|
||||
MOZ_ASSERT(mSTS);
|
||||
RUN_ON_THREAD(mSTS, WrapRunnableNM(ReleaseTransportFlow, mTransportFlow),
|
||||
RUN_ON_THREAD(mSTS, WrapRunnableNM(ReleaseTransportFlow, mTransportFlow.forget()),
|
||||
NS_DISPATCH_NORMAL);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user