-Fix problem where xfork did not successfully relinquish open db handles (with this change, fuser on a sqlite file, for instance, looks much more correct)

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4376 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2009-10-13 19:42:14 +00:00
parent a2da51211c
commit e4bd50f5e6

View File

@ -335,6 +335,7 @@ sub xfork
#my %drivers = DBI->installed_drivers;
foreach (values %{$::XCAT_DBHS})
{ #@{$drh->{ChildHandles}}) {
if ($_) { $_->disconnect(); }
$_->{InactiveDestroy} = 1;
undef $_;
}