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:
Karl Tomlinson 2022-03-17 01:55:22 +00:00
parent 3c891365f9
commit dda7cc0748

View File

@ -493,7 +493,7 @@ void CamerasChild::ShutdownChild() {
// Called with CamerasSingleton::Mutex() held
if (CamerasSingleton::Thread()) {
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.
RefPtr<ShutdownRunnable> runnable = new ShutdownRunnable(
NewRunnableMethod("nsIThread::Shutdown", CamerasSingleton::Thread(),