We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eeaa497 commit b693704Copy full SHA for b693704
src/interfaces/jdbc/org/postgresql/largeobject/LargeObjectManager.java
@@ -120,7 +120,15 @@ public LargeObjectManager(org.postgresql.Connection conn) throws SQLException
120
res.close();
121
DriverManager.println("Large Object initialised");
122
}
123
-
+
124
+ /*
125
+ * Added to free resources during garbage collection,
126
+ * Philip Crotwell <crotwell@seis.sc.edu>
127
+ */
128
+ protected void finalize() {
129
+ close();
130
+ }
131
132
/**
133
* This opens an existing large object, based on its OID. This method
134
* assumes that READ and WRITE access is required (the default).
0 commit comments