mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 08:42:13 +00:00
Bug 1757505 correct thread specified in comment for shutting down IPC thread r=jib
The comment has been out of date since https://hg.mozilla.org/mozilla-central/rev/03540c2e61c12a3e31869efb34fcee59b0adeec3 Depends on D140022 Differential Revision: https://phabricator.services.mozilla.com/D140023
This commit is contained in:
parent
3c891365f9
commit
dda7cc0748
@ -493,7 +493,7 @@ void CamerasChild::ShutdownChild() {
|
|||||||
// Called with CamerasSingleton::Mutex() held
|
// Called with CamerasSingleton::Mutex() held
|
||||||
if (CamerasSingleton::Thread()) {
|
if (CamerasSingleton::Thread()) {
|
||||||
LOG(("PBackground thread exists, dispatching close"));
|
LOG(("PBackground thread exists, dispatching close"));
|
||||||
// Dispatch closing the IPC thread back to us when the
|
// The IPC thread is shut down on the main thread after the
|
||||||
// BackgroundChild is closed.
|
// BackgroundChild is closed.
|
||||||
RefPtr<ShutdownRunnable> runnable = new ShutdownRunnable(
|
RefPtr<ShutdownRunnable> runnable = new ShutdownRunnable(
|
||||||
NewRunnableMethod("nsIThread::Shutdown", CamerasSingleton::Thread(),
|
NewRunnableMethod("nsIThread::Shutdown", CamerasSingleton::Thread(),
|
||||||
|
Loading…
Reference in New Issue
Block a user