Bug 240320. Prevent exception when GNOME_KEYRING_SOCKET is not set.
This commit is contained in:
parent
0db5c0e007
commit
57f3ed2984
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 30 14:12:02 MST 2007 - jnorman@novell.com
|
||||||
|
|
||||||
|
- Bug 240320. Prevent native exception when exiting CASAManager.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jan 30 11:40:17 MST 2007 - jnorman@novell.com
|
Tue Jan 30 11:40:17 MST 2007 - jnorman@novell.com
|
||||||
|
|
||||||
|
@ -55,9 +55,14 @@ namespace Novell.CASA.DataEngines
|
|||||||
}
|
}
|
||||||
|
|
||||||
~GKEngine()
|
~GKEngine()
|
||||||
|
{
|
||||||
|
|
||||||
|
string sIsSocketDefined = Environment.GetEnvironmentVariable("GNOME_KEYRING_SOCKET");
|
||||||
|
if ((sIsSocketDefined != null) && (sIsSocketDefined.Length > 0))
|
||||||
{
|
{
|
||||||
GnomeKeyring.ReleaseGnomeKeyringLib();
|
GnomeKeyring.ReleaseGnomeKeyringLib();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public XmlNode Aggregate()
|
public XmlNode Aggregate()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user