{
ISigilProjectModel model = projects.remove(project);
ArrayList<String> flush = new ArrayList<String>();
if ( model != null ) {
ProjectRepositoryManager manager = repositoryManagers.remove(model);
manager.destroy();
for(IBundleRepository rep : manager.getRepositories()) {
flush.add(rep.getId());
}
}