SEBWIN-834: Fixed duplicate use of terminate method for proctoring implementations.

This commit is contained in:
Damian Büchel 2024-01-22 10:38:05 +01:00
parent 55c36f6d7d
commit 70ba9ad7b6
2 changed files with 7 additions and 6 deletions

View file

@ -77,11 +77,6 @@ namespace SafeExamBrowser.Proctoring.JitsiMeet
}
}
public override void Terminate()
{
logger.Info("Terminated proctoring.");
}
internal override void Initialize()
{
var start = true;
@ -200,6 +195,11 @@ namespace SafeExamBrowser.Proctoring.JitsiMeet
}
}
internal override void Terminate()
{
logger.Info("Terminated proctoring.");
}
private string LoadContent(ProctoringSettings settings)
{
var assembly = Assembly.GetAssembly(typeof(ProctoringController));

View file

@ -23,12 +23,13 @@ namespace SafeExamBrowser.Proctoring
public abstract event NotificationChangedEventHandler NotificationChanged;
public abstract void Activate();
public abstract void Terminate();
void INotification.Terminate() { }
internal abstract void Initialize();
internal abstract void ProctoringConfigurationReceived(bool allowChat, bool receiveAudio, bool receiveVideo);
internal abstract void ProctoringInstructionReceived(ProctoringInstructionEventArgs args);
internal abstract void StartProctoring();
internal abstract void StopProctoring();
internal abstract void Terminate();
}
}