Avoid calling emitResult() in failed case. internalJobDone() is called anyway…

Authored by Mantia Andras <andris@stein.andtib> on May 18 2010, 5:45 PM.

Description

Avoid calling emitResult() in failed case. internalJobDone() is called anyway, and that calls emitResult(). The problem is: when the error message is shown, the eventLoop is reentered, the job is deleted. The emitResult() call after tries to use the deleted job -> crash. This might be only a workaround, but fixes bug 229557 (and its duplicates), bug 227823, bug 232444, 227584.

Details

Committed
Andreas Pakulat <apaku@gmx.de>May 26 2010, 6:00 PM
Parents
R32:8e9d51662443: properly escape dot before git folder
Branches
Unknown
Tags
Unknown
Andreas Pakulat <apaku@gmx.de> committed R32:a815d15fef2d: Avoid calling emitResult() in failed case. internalJobDone() is called anyway… (authored by Mantia Andras <andris@stein.andtib>).May 26 2010, 6:00 PM