/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
mMediaTransportTaskQueue->Dispatch(NS_NewRunnableFunction( "BackgroundDataBridgeParent::Bind",
[endpoint = std::move(aEndpoint)]() mutable {
RefPtr<MediaTransportParent> actor = new MediaTransportParent();
endpoint.Bind(actor);
})); return IPC_OK();
} #endif
void SocketProcessBridgeParent::ActorDestroy(ActorDestroyReason aReason) { // See bug 1846478. We might be able to remove this dispatch.
GetCurrentSerialEventTarget()->Dispatch(NS_NewRunnableFunction( "SocketProcessBridgeParent::ActorDestroy", [id = mId] { if (SocketProcessChild* child = SocketProcessChild::GetSingleton()) {
child->DestroySocketProcessBridgeParent(id);
}
}));
}
} // namespace net
} // namespace mozilla
¤ Dauer der Verarbeitung: 0.16 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.