Improved interrupts.

This commit is contained in:
Nuno Cruces
2024-10-04 13:31:53 +01:00
parent ac94a5406e
commit 96c61a2f55
10 changed files with 69 additions and 41 deletions

View File

@@ -209,7 +209,7 @@ func (n *connector) Connect(ctx context.Context) (_ driver.Conn, err error) {
tmWrite: n.tmWrite,
}
c.Conn, err = sqlite3.Open(n.name)
c.Conn, err = sqlite3.OpenContext(ctx, n.name)
if err != nil {
return nil, err
}