Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Rebase 890] Fixed issue: throw IOException: The process cannot access the file 'xxxx\log\Non-Session-Log.messages.current.log' because it is being used by another process. #904

Merged
merged 6 commits into from
Dec 3, 2024

Conversation

gbirchmeier
Copy link
Member

Attn @VAllens -- (Thanks so much for your help with this! And I apologize for taking 2 months to get back to it.)

Rebase #890, which makes NonSessionLog implement IDisposable, which is then used to fix some IOException issues.

Then I made a few other fixes on top of that (see comments of #891 for that discussion). Verified on Windows that all tests pass and that the test suite finishes down cleanly.

VAllens and others added 6 commits December 2, 2024 16:09
…xxx\log\Non-Session-Log.messages.current.log' because it is being used by another process.
…ssage value, the message value of the Exception should not be asserted, but rather the ErrorCode of the Exception.
…SessionLog instance has been released, there are no side effects even if the OnEvent function is called unexpectedly.
I accidentally introduced these problems in connamara#900.
The problem only exhibited itself on Windows, argh
@gbirchmeier
Copy link
Member Author

gbirchmeier commented Dec 3, 2024

@VAllens Also-- let me know if/how you want your name to appear on https://quickfixengine.org/n/

@gbirchmeier gbirchmeier merged commit b5febfa into connamara:master Dec 3, 2024
2 checks passed
@gbirchmeier gbirchmeier deleted the rebase-890 branch December 3, 2024 15:44
@VAllens
Copy link
Contributor

VAllens commented Dec 4, 2024

@VAllens Also-- let me know if/how you want your name to appear on https://quickfixengine.org/n/

Sure! You can list my name as [Allen Cai] on the site.
I’m honored to contribute to the QuickFIX/n community.

@gbirchmeier
Copy link
Member Author

Cool. The site will be updated after the next release (which I think will be January)

hlibman-connamara pushed a commit to hlibman-connamara/quickfixn that referenced this pull request Dec 6, 2024
[Rebase 890] Fixed issue: throw IOException: The process cannot access the file 'xxxx\log\Non-Session-Log.messages.current.log' because it is being used by another process.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants