We use cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, to analyze our website traffic, and to understand where our visitors are coming from.
Greetings,
when the TsgcWebSocketHTTPServer component raises an exception during the "active := true" transaction, if it fails, the TIdCustomTCPServer shutdown procedure raises an exception if Scheduler is nil.
I temporarily solved it by modifying the code as follows (line 971 of sgcIdCustomTCPServer.pas):
if Assigned(Scheduler) and (Scheduler.ClassName = 'TsgcIdSchedulerOfIO') then
DoStopListening_IO
else
// tear down listening threads
StopListening;
Best regards
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »