Hello Remobjects team,
I have the problem that when a Remoting SDK server is offline, or when it refuses a connection, the CPU load on the client spikes unacceptably when the channel is destroyed. It maxes out one thread/core for 30 seconds! This is with version 10.0.0.1495.
This problem has been bugging me for ages.
I have a reproducible test case here. It can be reproduced with any trivial service (mine is called sessionservice). I would be utterly grateful for a fix.
: More concise example
procedure TForm1.Test; var service:iSessionService; i:integer; begin service:=cosessionservice.Create('Supertcp://www.google.com:30841'); try i:=service.Serviceversion; Except screen.cursor:=crDefault; Showmessage('Please start the task manager and go to the CPU Performance page. '+ ' Press OK in this message box and look what happens to the CPU load.') ; screen.cursor:=crHourglass; end; end; procedure TForm1.Button1Click(Sender: TObject); begin screen.cursor:=crHourglass; test; screen.cursor:=crDefault; Showmessage('The connection was finally destroyed...'); end;