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

lazy.start() captured exception by default #17

Closed
2 tasks
RainMark opened this issue Feb 22, 2022 · 1 comment
Closed
2 tasks

lazy.start() captured exception by default #17

RainMark opened this issue Feb 22, 2022 · 1 comment

Comments

@RainMark
Copy link
Collaborator

Search before asking

  • I searched the issues and found no similar issues.

What happened + What you expected to happen

lazy.start() captured exception by default and pass Try to user callback
user maybe forget to process exception, caused user's coroutine code can not finish, and the resource leaked.

make lazy.start() throw exception by default?

Reproduction way

Anything else

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!
@RainMark
Copy link
Collaborator Author

if user do not want to handle exception, they can use detach() , so we let user to decided by self

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

1 participant