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

异常传播问题 #4

Open
RhythmCoderZZF opened this issue Jan 6, 2022 · 5 comments
Open

异常传播问题 #4

RhythmCoderZZF opened this issue Jan 6, 2022 · 5 comments
Labels
bug Something isn't working

Comments

@RhythmCoderZZF
Copy link

RhythmCoderZZF commented Jan 6, 2022

当一个协程发生了异常应当立即取消其子协程,而不是还在等子协程结束再向parent抛异常

@bennyhuo
Copy link
Owner

bennyhuo commented Jan 6, 2022

贴一下你的用例吧

@RhythmCoderZZF
Copy link
Author

RhythmCoderZZF commented Jan 7, 2022

贴一下你的用例吧
image

@bennyhuo
Copy link
Owner

bennyhuo commented Jan 7, 2022

问题就在于222还是会打印对吧

@RhythmCoderZZF
Copy link
Author

问题就在于222还是会打印对吧

是的

@bennyhuo
Copy link
Owner

bennyhuo commented Jan 7, 2022

好的,问题get了

@bennyhuo bennyhuo added the bug Something isn't working label Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants