You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
quickfix.Initiator.Stop and quickfix.Acceptor.Stop should also call store.Close #717
From my pov, when the application (Initiator/Acceptor) stops it should also call store.Close and then when app starts again, it should create a new store using the storeFactory.Create.
Following the discussion above, I'd like to ensure that Stop() calls
MessageStore.Close() after session processing has finished, so cleanup
doesn't rely on garbage collection.
Before implementing this, could you clarify the expected restart behavior?
Should calling Start() again on the same Initiator/Acceptor instance be
supported, with a new store created through MessageStoreFactory.Create,
or should applications construct a new instance after Stop()?
I'd add regression tests for cleanup and the agreed restart behavior.
Please let me know if anyone is already working on this.
Activity
vyourtchenko-connamara commentedon Dec 26, 2025
Based on the code, it seems that the garbage collector handles the cleanup of the store once the session dies
LucasWilsonGit commentedon Aug 24, 2026
Yes perhaps this can leak file descriptors or db connections depending on the MessageStore.
6democratickim9 commentedon Oct 15, 2026
Hi, I'd like to work on this issue.
Following the discussion above, I'd like to ensure that Stop() calls
MessageStore.Close() after session processing has finished, so cleanup
doesn't rely on garbage collection.
Before implementing this, could you clarify the expected restart behavior?
Should calling Start() again on the same Initiator/Acceptor instance be
supported, with a new store created through MessageStoreFactory.Create,
or should applications construct a new instance after Stop()?
I'd add regression tests for cleanup and the agreed restart behavior.
Please let me know if anyone is already working on this.