mateuszrzeszutek commented on PR #41237:
URL: https://github.com/apache/arrow/pull/41237#issuecomment-2101000037

   > It looks like the ObjectPool created in FlightSqlExample's constructor and 
the dataSource are also never closed. FlightSqlExample should override close() 
to clean these up...
   
   It looks like the data source (and the object pool along with it) is being 
closed properly though:
   
https://github.com/apache/arrow/blob/304650145689291eb87db5dd58f7b9776bdfaacf/java/flight/flight-sql/src/test/java/org/apache/arrow/flight/sql/example/FlightSqlExample.java#L759-L767
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to