internal void ValidateAddinRoots()
{
List<Assembly> copy = null;
lock (pendingRootChecks) {
if (pendingRootChecks.Count > 0) {
copy = new List<Assembly> (pendingRootChecks);
pendingRootChecks.Clear ();
}
}
if (copy != null) {
foreach (Assembly asm in copy)
CheckHostAssembly (asm);
}
}