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

Prevent adding events to closed stream controller #1223

Merged
merged 2 commits into from
Jul 28, 2023

Conversation

krida2000
Copy link
Contributor

@krida2000 krida2000 commented Jul 25, 2023

Resolves #1034

I have same issue using following code:

final box = await Hive.openLazyBox('local');
await box.clear();
await box.close();

hive/lib/src/box/change_notifier.dart Outdated Show resolved Hide resolved
@krida2000 krida2000 requested a review from themisir July 26, 2023 16:41
@themisir themisir merged commit b35d2e4 into isar:master Jul 28, 2023
11 checks passed
@bhavin-concetto
Copy link

@themisir when can we expect it to be released?

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.

Error saving locally Bad state: Cannot add new events after calling close
3 participants