calcs/hazard/general:
calcs/hazard/general:

Solved a subtle bug where `parsed_source` records are duplicated if
an input model is reused. This results in a "leak" of sorts in the
number of overall tasks.

See https://bugs.launchpad.net/openquake/+bug/1098154.


Former-commit-id: 94a34234ca3a343bdd5bc817fccc8abd76707a31 [formerly 125c373467676816e85e019e256336e8da144de6]
Former-commit-id: bb8d3300781b3423f5f9ad63a4425c69c679b96c
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine