Skip to content

LateInitializationError from _connectedDb when querying from isolate #1570

Answered by simolus3
frankvollebregt asked this question in Q&A
Discussion options

You must be logged in to vote

I feel like this is a drift issue. If this turns out to be you doing something wrong, we should at least report a much more actionable error message ;)

If you can consistently reproduce this, could you enable debugLog: true when calling DriftIsolate.connect? It would be interesting to see the messages being sent across isolates before this happens. If you share a bit more details on how you start the second isolate (where the error happens, I can also try to reproduce this myself). But maybe seeing the debug log will be enough.

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@simolus3
Comment options

@frankvollebregt
Comment options

@simolus3
Comment options

@frankvollebregt
Comment options

@simolus3
Comment options

Answer selected by frankvollebregt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants