Subject | Re: RC3 |
---|---|
Author | Roman Rokytskyy <rrokytskyy@acm.org> |
Post date | 2003-02-03T20:37:54Z |
> Did someone fix the problem with not closing statement handles? IfI did.
> not maybe we should implement the pooling/weak reference cleanup so
> it doesn't leak and doesn't stress the server so much.
FBConnection contains hard references on FBStatements. Statement
handles are deallocated on FBStatement.close(). If this does not
happen (people forget to close statements), FBConnection.close() will
first close its open statements and then itself. FBConnection.finalize
() will call FBConnection.close().
Yesterday I checked driver with JProbe, everything seems to be clean
with statement handles.
Roman