Repository navigation
Tags
Tags
fix: clear query state on disconnect/timeout and guard tx rollback (#451 ) Claim the active query promise atomically and mark connections disconnected before completing timed-out query futures so woken callers never observe stale running-query or connected states. Clean up pending PostgreSQL query, close-statement, and handshake futures on disconnect and channelInactive (preserving `PostgreSQLConnectionDelegate` ABI and releasing `DataRowMessage` `ByteBuf` slices across threads), and guard `inTransaction` and `releaseIfNeeded` against rolling back or releasing over timed-out, disconnected, or still-querying connections. Fixes #449 Co-authored-by: TywinLanni <sasha291096@gmail.com>
PreviousNext