projects
/
shibboleth
/
cpp-opensaml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
03d918a
)
Fix race condition during shutdown.
author
Scott Cantor
<cantor.2@osu.edu>
Fri, 2 Apr 2010 00:24:09 +0000
(
00:24
+0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Fri, 2 Apr 2010 00:24:09 +0000
(
00:24
+0000)
saml/saml2/metadata/impl/XMLMetadataProvider.cpp
patch
|
blob
|
history
diff --git
a/saml/saml2/metadata/impl/XMLMetadataProvider.cpp
b/saml/saml2/metadata/impl/XMLMetadataProvider.cpp
index
be76358
..
5462564
100644
(file)
--- a/
saml/saml2/metadata/impl/XMLMetadataProvider.cpp
+++ b/
saml/saml2/metadata/impl/XMLMetadataProvider.cpp
@@
-53,12
+53,8
@@
namespace opensaml {
m_object(NULL), m_maxCacheDuration(m_reloadInterval) {
}
virtual ~XMLMetadataProvider() {
m_object(NULL), m_maxCacheDuration(m_reloadInterval) {
}
virtual ~XMLMetadataProvider() {
- if (m_lock)
- m_lock->wrlock();
+ shutdown();
delete m_object;
delete m_object;
- m_object = NULL;
- if (m_lock)
- m_lock->unlock();
}
void init() {
}
void init() {