I am getting the same error on .NET 2.0 and QF 1.11. I didn't have time to
investigate yet but can reproduce at will. Actually I don't know how to
avoid it..
Francis
-----Original Message-----
From: Tom Frey
Sent: Wednesday, April 26, 2006 13:44
To: qui...@li...
Subject: [Quickfix-users] .NET Can not open bpdy file ... unreleased
resources
Hi,
I can not restart the ThreadedSocketInitiator as it throws "Can not open
body file exception" due to some unreleased resources.
Here is what I tried:
initiator = new ThreadedSocketInitiator
(application, fileStoreFactory, sessionSettings, fileLogFactory,
messageFactory); initiator.Start(); initiator.Stop(); initiator = null;
GC.Collect();
GC.WaitForPendingFinalizers();
initiator = new ThreadedSocketInitiator(application, fileStoreFactory,
sessionSettings, fileLogFactory, messageFactory); ---->> Here I get "Could
not open body file exception"
Anybody has an idea?
Thanks,
Tom
|