API Support Forum
OEC API > API Support > OECClient object just becomes invalid - no message
Author Topic: OECClient object just becomes invalid - no message
(3 messages, Page 1 of 1)
Moderators: VPfau
SStan
Posts: 4
Joined: Aug 05, 2010


Posted: Jun 01, 2011 @ 09:37 AM             Msg. 1 of 3
After closing OECTrader, we don’t get any messages, the object OECClient just become invalid. Recreation of the object and resubscribing to real-time causes a failure. How do we know it's closed without causing a failure?

Stan Bokov
VictorV
Posts: 746
Joined: May 08, 2007


Posted: Jun 01, 2011 @ 10:50 AM             Msg. 2 of 3
Currently, we have no ready-to-use solution for this situation. I placed it to our development queue.

Victor Vins
Software Developer
VictorV
Posts: 746
Joined: May 08, 2007


Posted: Jun 07, 2011 @ 05:00 PM             Msg. 3 of 3
This issue has been fixed. Now client application will get an exception on an attempt to call methods of dead objects. OECAPI with this bugfix will be released on Friday.

Victor Vins
Software Developer