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

Added dispose to the LanguageCheckService #34

Merged
merged 2 commits into from
May 25, 2023
Merged

Conversation

mitryp
Copy link
Contributor

@mitryp mitryp commented May 25, 2023

Fixes #33

This should fix the potential memory leaks from using the `Throttling` and `Debounce` classes.
Copy link
Collaborator

@solid-vovabeloded solid-vovabeloded left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job, @mitryp! I've added a few minor suggestions here - please, let me know what you think.

lib/domain/language_check_service.dart Show resolved Hide resolved
lib/implementations/debounce_lang_tool_service.dart Outdated Show resolved Hide resolved
Applied the recommended change
Copy link
Collaborator

@solid-vovabeloded solid-vovabeloded left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @mitryp

@mitryp mitryp merged commit 9d8c080 into main May 25, 2023
1 check passed
@mitryp mitryp deleted the fix/throttling-memory-leak branch May 25, 2023 16:09
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 this pull request may close these issues.

Potential memory leaks from using the throttling package
2 participants