2 ms·
You can recover from a panic though? I don't think you're required to call resume_unwind after catch_unwind. The underlying machinery is the same as C++ excepti
by TazeTSchnitzel 4y ago
You can recover from a panic though? I don't think you're required to call resume_unwind after catch_unwind. The underlying machinery is the same as C++ exceptions, so there's no reason that wouldn't work.
Obviously this is not something you're encouraged to do often, but there's applications where it might be reasonable.