[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 |
||
| Issue Links: |
|
||||||||||||||||
| 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 |
| Comments |
| Comment by Steve Bate [ 05/Apr/10 ] |
|
The concrete type of the message stores are not known to the code that unregisters sessions. |