removeStudy method

  1. @override
Future<void> removeStudy(
  1. Study study
)
override

Remove study from this client manager.

Note that by removing a study, it isn't stopped. Hence, the study can later be added again using the addStudy method. If a study is to be permanently stopped, use the stopStudy method.

Implementation

@override
Future<void> removeStudy(Study study) async {
  info('Removing study from $runtimeType - $study');
  AppTaskController().removeStudyDeployment(study.studyDeploymentId);
  await AppTaskController().saveQueue();
  await deviceController.disconnectAllConnectedDevices();
  await super.removeStudy(study);
}