diff --git a/devtools/server/actors/emulation.js b/devtools/server/actors/emulation.js index 54939e709328..3cc9f6a399c9 100644 --- a/devtools/server/actors/emulation.js +++ b/devtools/server/actors/emulation.js @@ -48,7 +48,7 @@ const EmulationActor = protocol.ActorClassWithSpec(emulationSpec, { * monitor, which for historical reasons is part of the console actor. */ get _consoleActor() { - if (this.targetActor.exited) { + if (this.targetActor.exited || !this.targetActor.actorID) { return null; } const form = this.targetActor.form();