pioneerspacesim/pioneer — pull request #2290 by fluffyfreak (2013-05-14 17:42:02+00:00)
Title: Fix #2282 crash

This PR is supposed to fix issue #2282 found by @pgimeno

Guards against the case where mpResults is NULL somehow.
Possibly due to a poorly timed cancellation of the job request.

I was unable to reproduce this on my own machines however the bug is fairly obvious so I've added some guards against it happening again.

Testing appreciated but the fix should go in anyway, it was clearly an oversight by me when I wrote it.