projects
/
shibboleth
/
cpp-opensaml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Ensure reload thread is started up even if init fails.
[shibboleth/cpp-opensaml.git]
/
saml
/
saml2
/
metadata
/
impl
/
XMLMetadataProvider.cpp
diff --git
a/saml/saml2/metadata/impl/XMLMetadataProvider.cpp
b/saml/saml2/metadata/impl/XMLMetadataProvider.cpp
index
ff726e9
..
df85913
100644
(file)
--- a/
saml/saml2/metadata/impl/XMLMetadataProvider.cpp
+++ b/
saml/saml2/metadata/impl/XMLMetadataProvider.cpp
@@
-57,8
+57,14
@@
namespace opensaml {
}
void init() {
- background_load();
- startup();
+ try {
+ background_load();
+ startup();
+ }
+ catch (...) {
+ startup();
+ throw;
+ }
}
const XMLObject* getMetadata() const {