Server/MainForm.cs
changeset 31 f19b04646b6a
parent 30 c375286d1a1c
child 32 4c416d2878dd
     1.1 --- a/Server/MainForm.cs	Fri Aug 15 10:20:01 2014 +0200
     1.2 +++ b/Server/MainForm.cs	Fri Aug 15 11:11:17 2014 +0200
     1.3 @@ -12,6 +12,7 @@
     1.4  using System.Drawing.Imaging;
     1.5  using System.ServiceModel;
     1.6  using System.Threading;
     1.7 +using System.Diagnostics;
     1.8  //
     1.9  using SharpDisplayInterface;
    1.10  using SharpDisplayClient;
    1.11 @@ -386,6 +387,8 @@
    1.12  
    1.13          public void BroadcastCloseEvent()
    1.14          {
    1.15 +            Trace.TraceInformation("BroadcastCloseEvent - start");
    1.16 +
    1.17              var inactiveClients = new List<string>();
    1.18              foreach (var client in iClients)
    1.19              {
    1.20 @@ -393,6 +396,7 @@
    1.21                  {
    1.22                      try
    1.23                      {
    1.24 +                        Trace.TraceInformation("BroadcastCloseEvent - " + client.Key);
    1.25                          client.Value.OnServerClosing(/*eventData*/);
    1.26                      }
    1.27                      catch (Exception ex)