Re: [Quickfix-developers] SocketInitiator.stop() Problem
Brought to you by:
orenmnero
From: horus_the_rabbit <zro...@gm...> - 2010-08-08 00:51:02
|
Hi Jason, I was wondering if you ever resolved this or if anyone has a fix. I'm having the exact same issue and I'm using tests to drive my development (TDD) and this is really been annoying me for the past 3 days. Here's what I do: public bool logon() { try { initiator.start(); } catch (ConfigError configError) { Console.Write(configError.StackTrace); return false; } return true; } public void logout() { initiator.stop(); //HANGS HERE AND STOPS DEBUGGER } When running tests, after my first test succeeds and my second test runs, I get this: Failure invoke test setup method QuickFix.ConfigError Configuration failed: Could not open body file: Logs\FIX.4.2-LCG-FXDD-MKD.body Void .ctor(QuickFix.Application, QuickFix.MessageStoreFactory, QuickFix.SessionSettings, QuickFix.LogFactory, QuickFix.MessageFactory) Any help would be greatly appreciated, as I don't want to make a mock obj for this and would rather see it work properly. shaffer.jason wrote: > > Shrila, > > That would work in theory, however it is actually during the shutdown > process that I'm having problems. I need to allow a few seconds for the > application to shut down. ... > > Shrila wrote: >> >> >> Hi shaffer.jason. >> If You want close quickFIX and release port, possible simply close >> application (all quickFIX threads). >> > > -- View this message in context: http://old.nabble.com/SocketInitiator.stop%28%29-Problem-tp18473551p29356404.html Sent from the QuickFIX - Dev mailing list archive at Nabble.com. |