[QFJ-617] disconnect() might not clear logoutSent flag Created: 12/Jul/11 Updated: 12/Oct/12 Resolved: 12/Oct/12 |
|
Status: | Closed |
Project: | QuickFIX/J |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Default |
Reporter: | Staffan Ulfberg | Assignee: | Unassigned |
Resolution: | Duplicate | Votes: | 0 |
Labels: | None |
Issue Links: |
|
Description |
In Session, with the help of SessionState, there is code to keep track of whether a logout message has been sent. In the disconnect method this flag is normally cleared. However, if the method returns early due to the session being already disconnected, the flag is not cleared. So the flag remains set, and this later triggers another logout (after the session has really been re-established). (And the reason for that logout is logged incorrectly – see bug posted minutes ago.) |