Skip to content

Possible race condition in SQLitePooledConnection #821

@nicolatimeus

Description

@nicolatimeus

Hi all,

I've noticed that at

listeners.get(i).connectionClosed(event);

the ConnectionEventListener.connectionClosed() method is called and then the subsequent lines may perform modifications on the released connection:

Should these modifications be moved before the invocation of ConnectionEventListener.connectionClosed()? Otherwise the client code may start reusing the released connection concurrently while they are being performed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions