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

has a panic #627

Open
yudelin opened this issue Dec 18, 2024 · 2 comments
Open

has a panic #627

yudelin opened this issue Dec 18, 2024 · 2 comments

Comments

@yudelin
Copy link

yudelin commented Dec 18, 2024

image

I analyzed it, to make the following modifications, please fix this problem according to the actual situation, and release it

企业微信截图_17345095676354

企业微信截图_17345095826066

企业微信截图_17345095923959

企业微信截图_17345095992552

@Tang8330
Copy link

Can you provide a repro?

@sijms
Copy link
Owner

sijms commented Jan 17, 2025

high @yudelin. the issue is related to calling dataset.Close() when dataset is null so you should test if dataset == nil before calling the Close method. the situation where dataset == null is occur when function return error. so I think you forget to check for error in some place in your 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

3 participants