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

BaseXmlSyncState Cursor not closed #1

Open
cklar opened this issue Aug 14, 2018 · 1 comment
Open

BaseXmlSyncState Cursor not closed #1

cklar opened this issue Aug 14, 2018 · 1 comment

Comments

@cklar
Copy link

cklar commented Aug 14, 2018

The Cursor which is opened in the BaseXmlSyncState is not closed.

2018-08-14 08:16:37.480 26972-26981/com.mail.mobile.android.mail.debug:contactssync E/StrictMode: A resource was acquired at attached stack trace but never released. See java.io.Closeable for information on avoiding resource leaks. java.lang.Throwable: Explicit termination method 'close' not called at dalvik.system.CloseGuard.open(CloseGuard.java:223) at android.content.ContentResolver$CursorWrapperInner.<init>(ContentResolver.java:2925) at android.content.ContentResolver.query(ContentResolver.java:780) at android.content.ContentResolver.query(ContentResolver.java:704) at android.content.ContentResolver.query(ContentResolver.java:662) at org.dmfs.android.syncstate.BaseXmlSyncState.load(Unknown Source:26) at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:321)

@dmfs
Copy link
Owner

dmfs commented Aug 22, 2018

Ouch! Will fix that.

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

No branches or pull requests

3 participants
@dmfs @cklar and others