Closed me73123 closed 5 years ago
Why are you closing the connection source?
The connection will be closed after each query because the connection source may not be used later.
I solved this problem. I closed the connectionSource before first get connection source.
Any idea why the old version didn't suffer from this problem?
I just reconfirmed whether an old version of android has encountered this problem. It seems that the same problem will arise.
When can close be called?
I have an error "IllegalStateException: attempt to re-open an already-closed object" in multi thread by android 9.0.
I closed the connectionSource in each query. like this:
Any ideas?