Open Bug 1083700 Opened 5 years ago

mozprofile.poll() returns None aftre process has died

Categories

(Testing :: Mozbase, defect)

x86_64
Linux
defect
Not set

Tracking

(Not tracked)

People

(Reporter: jgraham, Unassigned)

Details

I didn't investigate this too closely yet, but I was using mozprocess to launch servo which would then crash. Calling .poll() on the mozprocess object after it crashed returned None, incorrectly suggesting it was still alive. I didn't investigate enough to determine if this is because the outThread was still alive or because the use of hasttr(self.proc, "returncode") was incorrect (it seems possible this should be self.proc.returncode is not None).
You need to log in before you can comment on or make changes to this bug.