[ https://issues.apache.org/jira/browse/FTPSERVER-262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12663477#action_12663477 ]
Niklas Gustavsson commented on FTPSERVER-262: --------------------------------------------- > We should take into account that (I guess!) it is possible that the session > be closed before the DataConnection ( so we can have a thread still writing > to the filesystem). That's a good point, but I think we should view it from the other side. Either we should not close the session before the data transfer is complete, or we should close the data transfer when the session closes. Keeping ongoing data transfers going without the session will lead to troubles. This is something we should have a look at, but I don't think it affects this issue. > FileSystemView.dispose() is never called > ---------------------------------------- > > Key: FTPSERVER-262 > URL: https://issues.apache.org/jira/browse/FTPSERVER-262 > Project: FtpServer > Issue Type: Bug > Components: Ftplets > Affects Versions: 1.0.0-M4 > Reporter: Daniel Santos > Assignee: Niklas Gustavsson > Fix For: 1.0.0-RC2 > > > The FileSystemView.dispose() function is never called. > This method seems interesting to release critical resources such as JDBC > connections, email sessions, etc. > I think it is a good idea to call it when FtpSession closes (on > DefaultFtpHandler.sessionClosed()) and maybe when user login again (because > FileSystemView is related to an user). > thx -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.