Commit 64274762 by Michael Brachmann

tms ws fixes

parent 68de9931
...@@ -8,7 +8,7 @@ uses ...@@ -8,7 +8,7 @@ uses
Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.ComCtrls, Vcl.Grids, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.ComCtrls, Vcl.Grids,
System.Generics.Collections, System.IniFiles, System.Generics.Collections, System.IniFiles,
Auth.Service, Auth.Server.Module, Api.Server.Module, App.Server.Module, Auth.Service, Auth.Server.Module, Api.Server.Module, App.Server.Module,
ExeInfo, Api.Service, Ws.Server.Module, Ws.Service; ExeInfo, Api.Service, Ws.Server.Module, Ws.Service, WebSocket.Manager;
type type
TFMain = class(TForm) TFMain = class(TForm)
......
...@@ -232,7 +232,7 @@ begin ...@@ -232,7 +232,7 @@ begin
for i := 0 to Length(snapshot) - 1 do for i := 0 to Length(snapshot) - 1 do
try try
snapshot[i].WriteString(AMessage); snapshot[i].Send(AMessage);
except except
// Ignore disconnected or errored connections; they will be cleaned up // Ignore disconnected or errored connections; they will be cleaned up
// via the OnDisconnect event. // via the OnDisconnect event.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment