Windows Installer work, fix 100% CPU bug in EthernetTap on Windows, Windows lockDownFile() implementation that uses 'cacls' utility.

This commit is contained in:
Adam Ierymenko 2014-01-26 10:21:43 -08:00
parent f19d1e253a
commit 22efa1ab53
5 changed files with 119 additions and 17 deletions

View file

@ -280,17 +280,13 @@ void Topology::_loadPeers()
buf.setSize(buf.size() - ptr);
}
} while (rlen > 0);
fclose(pd);
} else {
fclose(pd);
Utils::rm(pdpath);
}
} catch ( ... ) {
// Membership cert dump file invalid. We'll re-learn them off the net.
_activePeers.clear();
fclose(pd);
Utils::rm(pdpath);
}
fclose(pd);
Utils::rm(pdpath);
}
} // namespace ZeroTier