Close before deleting
git-svn-id: file:///home/svn/framework3/trunk@5944 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
parent
2bc4ca41b3
commit
05088e59f9
|
@ -426,10 +426,9 @@ module Db
|
|||
end
|
||||
|
||||
data = File.read(fd.path)
|
||||
fd.close
|
||||
|
||||
File.unlink(fd.path)
|
||||
|
||||
fd.close
|
||||
|
||||
load_nmap_xml(data)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue