SEBWIN-226: Immediately invoke ConnectionLost when a proxy faults.
This commit is contained in:
parent
c6556a7765
commit
652a9a7e36
1 changed files with 2 additions and 0 deletions
|
@ -215,6 +215,8 @@ namespace SafeExamBrowser.Communication.Proxies
|
||||||
private void BaseProxy_Faulted(object sender, EventArgs e)
|
private void BaseProxy_Faulted(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
Logger.Warn("Communication channel has faulted!");
|
Logger.Warn("Communication channel has faulted!");
|
||||||
|
timer?.Stop();
|
||||||
|
ConnectionLost?.Invoke();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void BaseProxy_Opened(object sender, EventArgs e)
|
private void BaseProxy_Opened(object sender, EventArgs e)
|
||||||
|
|
Loading…
Reference in a new issue