#135 closed defect (released)
Closing army crashes WinForms
Reported by: | ibboard | Owned by: | ibboard |
---|---|---|---|
Priority: | major | Milestone: | WarFoundry 0.1 |
Component: | WarFoundry-GUI-WinForms | Version: | |
Keywords: | crash close army | Cc: | |
Blocked By: | Blocking: | #88 |
Description
The WinForms UI currently crashes if you close an army from the menu item. This is caused by a modified collection that is being iterated over in the army tree dialog.
Change History (6)
comment:1 Changed 10 years ago by
comment:2 Changed 10 years ago by
Owner: | set to ibboard |
---|---|
Status: | new → accepted |
comment:3 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
comment:5 Changed 10 years ago by
released: | 1 → yes |
---|
Mark released fixes as released using radio values
comment:6 Changed 10 years ago by
Resolution: | fixed → released |
---|
Mark fix as released under a previous version
Note: See
TracTickets for help on using
tickets.
Lines 142/143 need to work over a copy of the collection, as closing the dialogs triggers the unitForm_Closing() method, which removes the form from the "open forms" collection.