Picture of Daniel Deterding (innovaphone)
Moderator Registered 14 years 345 days
Daniel Deterding (innovaphone) Monday, 26 June 2023, 02:01 PM in response to iqbal
Re: can you help me to solve App crash issue
I checked 13r2 and you can already hand IDns to IHTTPClient::Create here, so you can still change it accordingly.

There is no direct method to check if there is a running DNS request.
It's the standard asynchronous process:
You call httpclient->Connect(...) and must wait for HTTPClientConnectComplete
If you do not wait and delete the httpclient object (e.g. because the corresponding websocket session, which might have triggered such an httpclient->Connect call was closed), it will crash.
But of course I'm just guessing here.

Greetings,
Daniel
← You can define your color theme preference here