Skip to content
Snippets Groups Projects
Commit bf9e01d9 authored by Bruce Momjian's avatar Bruce Momjian
Browse files

Add large object finalization cleanup to the proper java file.

parent 4dca29dd
No related branches found
No related tags found
No related merge requests found
......@@ -89,6 +89,12 @@ public class LargeObject
this.fd = fp.getInteger("lo_open",args);
}
/* Release large object resources during garbage cleanup */
protected void finalize() throws SQLException
{
close();
}
/**
* @return the OID of this LargeObject
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment