зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1577719: Init r_log in the c'tor, to simplify things. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D45463 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
73510ce199
Коммит
6e3f7f6bb1
|
@ -233,6 +233,9 @@ MediaTransportHandlerSTS::MediaTransportHandlerSTS(
|
|||
if (!mStsThread) {
|
||||
MOZ_CRASH();
|
||||
}
|
||||
|
||||
RLogConnector::CreateInstance();
|
||||
|
||||
CSFLogDebug(LOGTAG, "%s done", __func__);
|
||||
|
||||
// We do not set up mDNSService here, because we are not running on main (we
|
||||
|
@ -1080,9 +1083,6 @@ void MediaTransportHandlerSTS::ClearIceLog() {
|
|||
}
|
||||
|
||||
void MediaTransportHandlerSTS::EnterPrivateMode() {
|
||||
// Do this from calling thread, because that's what we do in CreateIceCtx...
|
||||
RLogConnector::CreateInstance();
|
||||
|
||||
if (!mStsThread->IsOnCurrentThread()) {
|
||||
mStsThread->Dispatch(
|
||||
WrapRunnable(RefPtr<MediaTransportHandlerSTS>(this),
|
||||
|
@ -1095,9 +1095,6 @@ void MediaTransportHandlerSTS::EnterPrivateMode() {
|
|||
}
|
||||
|
||||
void MediaTransportHandlerSTS::ExitPrivateMode() {
|
||||
// Do this from calling thread, because that's what we do in CreateIceCtx...
|
||||
RLogConnector::CreateInstance();
|
||||
|
||||
if (!mStsThread->IsOnCurrentThread()) {
|
||||
mStsThread->Dispatch(
|
||||
WrapRunnable(RefPtr<MediaTransportHandlerSTS>(this),
|
||||
|
|
Загрузка…
Ссылка в новой задаче