version 4.2 process stopped responding and was terminated.

Created at 08 Apr 2022, 19:11
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
SH

Shares4UsDevelopment

Joined 14.10.2018

version 4.2 process stopped responding and was terminated.
08 Apr 2022, 19:11


Hi,

We have some indicators that need to do a lot of things before starting up (Opening internet channels. analyzing stuff and so on)
Due to cTrader not being threadsafe we do it all in a single thread.
in 4.2 suddenly we sometimes get the message.
08/04/2022 15:49:11.695 | Indicator instance [xxx] process stopped responding and was terminated.
Is there a way to tell the indicator it should not terminate but just wait for the processing to finish?
or is there a maximum time to be set before this is invoked?

Best Rgds.


@Shares4UsDevelopment
Replies

amusleh
09 Apr 2022, 08:50

Hi,

Please post a sample code that can reproduce this issue.


@amusleh