зеркало из https://github.com/mozilla/gecko-dev.git
Bug 534736, and perhaps some others: parent crash within mozilla::plugins::PPluginInstanceParent::DestroySubtree, r=cjones
This commit is contained in:
Родитель
4de88f4c18
Коммит
1e5ed65ff5
|
@ -3353,11 +3353,11 @@ class _GenerateProtocolActorCode(ipdl.ast.Visitor):
|
|||
failif.addifstmts(
|
||||
self.unregisterActor(actorvar)
|
||||
+ [ StmtExpr(ExprCall(_deallocMethod(md.decl.type.constructedType()), args=[actorvar])),
|
||||
StmtReturn(ExprLiteral.NULL),
|
||||
StmtExpr(_callCxxArrayRemoveSorted(
|
||||
self.protocol.managedVar(
|
||||
md.decl.type.constructedType(), self.side),
|
||||
actorvar))
|
||||
actorvar)),
|
||||
StmtReturn(ExprLiteral.NULL),
|
||||
])
|
||||
return [ failif ]
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче