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

Bug: Missing cleanup for ESP serial client #152

Closed
tuanvumaihuynh opened this issue Mar 26, 2025 · 0 comments · Fixed by #153
Closed

Bug: Missing cleanup for ESP serial client #152

tuanvumaihuynh opened this issue Mar 26, 2025 · 0 comments · Fixed by #153

Comments

@tuanvumaihuynh
Copy link
Contributor

// cleanup function
cleanup := func() error {
if err := app.CleanupManager.Cleanup(app.ctx); err != nil {
return fmt.Errorf("cleanup manager cleanup failed: %w", err)
}
if err := app.PICSerialClient.Stop(); err != nil {
return fmt.Errorf("failed to close pic serial client: %w", err)
}
return nil

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

Successfully merging a pull request may close this issue.

1 participant