-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Properly close stmt and conn when using idb (#232)
Deleting the statement object doesn't free the underlying resources, causing memory leaks. Instead, we need to close both the connection and the statement to free these resources. We can let the runtime delete the objects as well. Fixes #230
- Loading branch information
Showing
1 changed file
with
35 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters