mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-14 04:57:15 +00:00
added further delay to end meeting steps to allow for default source restoration and power off
This commit is contained in:
parent
d1646f8216
commit
e1e2627f56
5 changed files with 11 additions and 11 deletions
|
|
@ -4,5 +4,5 @@
|
|||
[assembly: AssemblyCompany("PepperDash Technology Corp")]
|
||||
[assembly: AssemblyProduct("PepperDashEssentials")]
|
||||
[assembly: AssemblyCopyright("Copyright © PepperDash Technology Corp 2017")]
|
||||
[assembly: AssemblyVersion("1.0.14.*")]
|
||||
[assembly: AssemblyVersion("1.0.15.*")]
|
||||
|
||||
|
|
|
|||
|
|
@ -26,8 +26,6 @@ namespace PepperDash.Essentials
|
|||
/// </summary>
|
||||
CEvent PostLockEvent = new CEvent(true, true);
|
||||
|
||||
Thread SseWorkerThread;
|
||||
|
||||
CotijaConfig Config;
|
||||
|
||||
HttpClient Client;
|
||||
|
|
@ -180,7 +178,7 @@ namespace PepperDash.Essentials
|
|||
}
|
||||
else
|
||||
{
|
||||
//if(Client == null)
|
||||
if(Client == null || NeedNewClient)
|
||||
Client = new HttpClient();
|
||||
Client.Verbose = true;
|
||||
Client.KeepAlive = true;
|
||||
|
|
@ -304,7 +302,6 @@ namespace PepperDash.Essentials
|
|||
if(ServerReconnectTimer != null)
|
||||
{
|
||||
ServerReconnectTimer.Stop();
|
||||
|
||||
ServerReconnectTimer = null;
|
||||
}
|
||||
|
||||
|
|
@ -319,7 +316,10 @@ namespace PepperDash.Essentials
|
|||
if (resp != null)
|
||||
Debug.Console(1, this, "Response from server: {0}\n{1}", resp.Code, err);
|
||||
else
|
||||
{
|
||||
Debug.Console(1, this, "Null response received from server.");
|
||||
NeedNewClient = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
|
|
|
|||
|
|
@ -204,7 +204,7 @@ namespace PepperDash.Essentials
|
|||
|
||||
RunDefaultRoute();
|
||||
|
||||
CrestronEnvironment.Sleep(200);
|
||||
CrestronEnvironment.Sleep(1000);
|
||||
|
||||
RunRouteAction("roomOff");
|
||||
}
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue