Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AfterReturning is only for panic? #6

Open
xiaoqin16 opened this issue Aug 20, 2021 · 1 comment
Open

AfterReturning is only for panic? #6

xiaoqin16 opened this issue Aug 20, 2021 · 1 comment

Comments

@xiaoqin16
Copy link

callAdvicesFunc(AfterReturning, retValues...) will panic and be recover, so the program can execute successfully. If don't panic, the program will return retValues which is nil.

@xujinzheng
Copy link
Member

can you give me a example code ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants