Hacker News new | ask | show | jobs
by HALtheWise 1303 days ago
Yes it does, which is why recovering from a panic can be done in a deferred function. The go runtime maintains enough metadata to track what deferred functions need to be run while unwinding the stack.