Commit 97e89337 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Minor bug fix to slice locking.

parent 0b1a0381
......@@ -95,8 +95,16 @@ sub Create($$$$;$$)
return undef
if (!defined($slice));
$slice = GeniSlice->Lookup($slice->idx());
return GeniSlice->Lookup($slice->idx());
return undef
if (!defined($slice));
$slice->{'LOCKED'} = $$
if ($lock);
return $slice;
}
#
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment