|
|
|
|
|
by Tainnor
1412 days ago
|
|
In memory-safe languages, memory is not suddenly corrupted because of some exception that is thrown. Instead, the bigger issue is corrupt external state, e.g. in a database. But that can of course happen just as well if you panic. What you'll need to do is to wrap your code in a transaction, if possible. |
|