3 ms·
You can see the invalid state even without catch/recover, e.g. from destructors that are called during unwinding.
by cousin_it 11y ago
You can see the invalid state even without catch/recover, e.g. from destructors that are called during unwinding.
- Manishearth 11y agoAh, I see. Right, that works in this case, but it doesn't work in all -- you can come up with a situation where the destructor is fine but the recovery can lead to arbitrary unsafe things.