зеркало из https://github.com/mozilla/gecko-dev.git
Make BackgroundImpl optional in the GPU process. (bug 1294350 part 7, r=billm)
This commit is contained in:
Родитель
398cf04082
Коммит
44a97e25c9
|
@ -1761,8 +1761,10 @@ ChildImpl::SynchronouslyCreateForCurrentThread()
|
|||
void
|
||||
ChildImpl::CloseForCurrentThread()
|
||||
{
|
||||
MOZ_ASSERT(sThreadLocalIndex != kBadThreadLocalIndex,
|
||||
"BackgroundChild::Startup() was never called!");
|
||||
if (sThreadLocalIndex == kBadThreadLocalIndex) {
|
||||
return;
|
||||
}
|
||||
|
||||
auto threadLocalInfo =
|
||||
static_cast<ThreadLocalInfo*>(PR_GetThreadPrivate(sThreadLocalIndex));
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче