Cleanup code to explicitly mark we stop the loop after the first job.

Authored by mwolff on Sep 6 2016, 12:59 PM.

Description

Cleanup code to explicitly mark we stop the loop after the first job.

The code only set "done = true" in a conditional when the m_documents
hash was non-empty. But if that is the case then by definition we have
to be done anyways. Assert on that now.

Details

Committed
mwolffSep 6 2016, 7:06 PM
Parents
R32:af242fe3ea11: Don't reference destroyed data in lambda run in background thread.
Branches
Unknown
Tags
Unknown