Opened 6 years ago
Closed 3 years ago
#21 closed defect (fixed)
Destructors do not run on Stack Unwinding
Reported by: | ajbeach | Owned by: | |
---|---|---|---|
Priority: | minor | Component: | cfa-cc |
Version: | 1.0 | Keywords: | |
Cc: |
Description
This is an ongoing issue that did not get a track ticket. Stack unwinding for exceptions does not run destructors which breaks RAII.
Although this only has to be used when we are using exceptions currently I believe we currently have to assume we are always using exceptions.
Note: See
TracTickets for help on using
tickets.
There might be some cases still where this doesn't work, but in the general case it has been working for a while.