Bug 621527: Ignore update if layer manager IsDestroyed(). r=cjones a=a

This commit is contained in:
Tatiana Meshkova 2010-12-27 08:48:00 -06:00
parent 2c67f4ace4
commit e8afa2d979

View File

@ -148,6 +148,10 @@ ShadowLayersParent::RecvUpdate(const InfallibleTArray<Edit>& cset,
{
MOZ_LAYERS_LOG(("[ParentSide] recieved txn with %d edits", cset.Length()));
if (layer_manager()->IsDestroyed()) {
return true;
}
EditReplyVector replyv;
layer_manager()->BeginTransactionWithTarget(NULL);