Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#207 closed defect (released)

WarFoundry still keeps file handles on load failure

Reported by: ibboard Owned by: ibboard
Priority: major Milestone: WarFoundry 0.1
Component: WarFoundry-API Version: Trunk
Keywords: io filestream failure Cc:
Blocked By: Blocking:

Description

Ticket:113 tried to fix the problem where we couldn't re-save because files were still being held open by different parts of the process, but it seems like the same thing might still be happening because files that fail to load (e.g. because of the schema changes in WarFoundry 0.1b4) can't be renamed or updated until WarFoundry is shut down.

Change History (4)

comment:1 Changed 10 years ago by ibboard

Owner: set to ibboard
Status: newaccepted

comment:2 Changed 10 years ago by ibboard

Resolution: fixed
Status: acceptedclosed

(In r380) Fixes #207: WarFoundry still keeps file handles on failure

  • Move close of zip file into a "finally" block
  • Remove unnecessary extra Close()

comment:3 Changed 10 years ago by ibboard

released: noyes

Release as part of v0.1b5

comment:4 Changed 10 years ago by ibboard

Resolution: fixedreleased

Mark fix as released under a previous version

Note: See TracTickets for help on using tickets.