Bug 1459270 - fixed a regression where IPC was not correctly checking for transitions to actors being dead; r?froydnj
MozReview-Commit-ID: HzhUna0mVpB
--- a/ipc/ipdl/ipdl/lower.py
+++ b/ipc/ipdl/ipdl/lower.py
@@ -4628,17 +4628,17 @@ class _GenerateProtocolActorCode(ipdl.as
# avoid unused-variable warnings
saveIdStmts = [ StmtDecl(Decl(_actorIdType(), idvar.name),
self.protocol.routingId()) ]
else:
saveIdStmts = [ ]
return idvar, saveIdStmts
def transition(self, md, actor=None, reply=False, errorfn=None):
- msgid = md.pqMsgId() if not reply else md.pqReplyId()
+ msgid = md.msgId() if not reply else md.replyId()
args = [
ExprVar('true' if _deleteId().name == msgid else 'false'),
]
if self.protocol.decl.type.hasReentrantDelete:
function = 'ReEntrantDeleteStateTransition'
args.append(
ExprVar('true' if _deleteReplyId().name == msgid else 'false'),
)