mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Latorre (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FTPSERVER-262) FileSystemView.dispose() is never called
Date Tue, 13 Jan 2009 11:16:09 GMT

    [ https://issues.apache.org/jira/browse/FTPSERVER-262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12663305#action_12663305
] 

David Latorre 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).

> 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
>
> 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.


Mime
View raw message