From 1ed747762a90972e26e3b47a99d0d15768a3fa86 Mon Sep 17 00:00:00 2001 From: Jonas Sourlier Date: Mon, 2 May 2022 16:51:18 +0200 Subject: [PATCH] add deregistration of Browser.LoseFocusRequested --- SafeExamBrowser.Client/ClientController.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SafeExamBrowser.Client/ClientController.cs b/SafeExamBrowser.Client/ClientController.cs index f9ea4e44..d5573a5d 100644 --- a/SafeExamBrowser.Client/ClientController.cs +++ b/SafeExamBrowser.Client/ClientController.cs @@ -188,7 +188,7 @@ namespace SafeExamBrowser.Client Browser.ConfigurationDownloadRequested += Browser_ConfigurationDownloadRequested; Browser.SessionIdentifierDetected += Browser_SessionIdentifierDetected; Browser.TerminationRequested += Browser_TerminationRequested; - Browser.LoseFocusRequested += Browser_LoseFocusRequested; ; + Browser.LoseFocusRequested += Browser_LoseFocusRequested; ClientHost.ExamSelectionRequested += ClientHost_ExamSelectionRequested; ClientHost.MessageBoxRequested += ClientHost_MessageBoxRequested; ClientHost.PasswordRequested += ClientHost_PasswordRequested; @@ -238,6 +238,7 @@ namespace SafeExamBrowser.Client Browser.ConfigurationDownloadRequested -= Browser_ConfigurationDownloadRequested; Browser.SessionIdentifierDetected -= Browser_SessionIdentifierDetected; Browser.TerminationRequested -= Browser_TerminationRequested; + Browser.LoseFocusRequested -= Browser_LoseFocusRequested; } if (ClientHost != null)