[QFJ-350] Sessions do not cleanup after themselves when un registered Created: 15/Sep/08  Updated: 15/Nov/12  Resolved: 05/Apr/10

Status: Closed
Project: QuickFIX/J
Component/s: Engine
Affects Version/s: 1.3.1
Fix Version/s: None

Type: Bug Priority: Default
Reporter: Michael Franz Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Environment:

Java 1.6.0_07
Windows XP


Issue Links:
Duplicate
duplicates QFJ-224 Automatically close logs and message ... Closed
Relates
relates to QFJ-287 Provide hook for manually closing Fil... Closed

 Description   

When sessions are unregistered they do not do any clean up of any resources that they may have opened. Once a session is unregistered by the static Session.unregisterSessions the session is basically dead and can no-longer be used. The unregisterSession method should check if the session's store is a FileStore and call closeFiles before/after removing from the session cache.

This is releated to QFJ-224 and QFJ-287.



 Comments   
Comment by Steve Bate [ 05/Apr/10 ]

The concrete type of the message stores are not known to the code that unregisters sessions.

Generated at Fri May 10 10:12:17 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.