зеркало из https://github.com/mozilla/gecko-dev.git
Bug 863392 - Disconnect layer during abnormal shutdown - r=nical
This commit is contained in:
Родитель
02d2dbfaf5
Коммит
670b423305
|
@ -62,6 +62,11 @@ ShadowLayerParent::ActorDestroy(ActorDestroyReason why)
|
|||
break;
|
||||
|
||||
case AbnormalShutdown:
|
||||
if (mLayer) {
|
||||
mLayer->Disconnect();
|
||||
}
|
||||
break;
|
||||
|
||||
case NormalShutdown:
|
||||
// let IPDL-generated code automatically clean up Shmems and so
|
||||
// forth; our channel is disconnected anyway
|
||||
|
|
Загрузка…
Ссылка в новой задаче