diff --git a/SafeExamBrowser.Proctoring/ProctoringController.cs b/SafeExamBrowser.Proctoring/ProctoringController.cs index f9ba3953..1842cf47 100644 --- a/SafeExamBrowser.Proctoring/ProctoringController.cs +++ b/SafeExamBrowser.Proctoring/ProctoringController.cs @@ -9,6 +9,7 @@ using System; using System.IO; using System.Reflection; +using System.Threading; using System.Windows; using Microsoft.Web.WebView2.Wpf; using SafeExamBrowser.Configuration.Contracts; @@ -223,6 +224,8 @@ namespace SafeExamBrowser.Proctoring control.ExecuteScriptAsync("ZoomMtg.leaveMeeting({});"); } + Thread.Sleep(2000); + window.Close(); control = default(ProctoringControl); window = default(IProctoringWindow); diff --git a/SafeExamBrowser.Proctoring/Zoom/index.html b/SafeExamBrowser.Proctoring/Zoom/index.html index f4cb08bd..091b200a 100644 --- a/SafeExamBrowser.Proctoring/Zoom/index.html +++ b/SafeExamBrowser.Proctoring/Zoom/index.html @@ -14,8 +14,6 @@