mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-03 21:44:30 +08:00
* Fixes #3403 * Fix Typo V is actually a set so we can clear it. * Fix bug, use self.assertFalse
This commit is contained in:
@@ -462,12 +462,14 @@ std::vector<MatchVectType> SubstructMatch(
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef RDK_THREADSAFE_SSS
|
||||
if (params.recursionPossible) {
|
||||
BOOST_FOREACH (RecursiveStructureQuery *v, locked)
|
||||
BOOST_FOREACH (RecursiveStructureQuery *v, locked) {
|
||||
v->clear();
|
||||
#ifdef RDK_THREADSAFE_SSS
|
||||
v->d_mutex.unlock();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
return matches;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user