(svn r25934) -Fix [FS#5793]: Do not access items from other pools in pool item destructors during pool cleaning.

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
frosch 11 years ago
parent 3a1fbc091e
commit 2a16d139a2

@ -41,6 +41,10 @@ LinkGraphJob::~LinkGraphJob()
{
assert(this->thread == NULL);
/* Don't update stuff from other pools, when everything is being removed.
* Accessing other pools may be invalid. */
if (CleaningPool()) return;
/* Link graph has been merged into another one. */
if (!LinkGraph::IsValidID(this->link_graph.index)) return;

Loading…
Cancel
Save