fix: end practice session when complete, even if backup activities still remain in queue (#5860)
This commit is contained in:
parent
42dd2ab693
commit
a370386016
1 changed files with 5 additions and 0 deletions
|
|
@ -252,6 +252,11 @@ class AnalyticsPracticeState extends State<AnalyticsPractice>
|
|||
return;
|
||||
}
|
||||
|
||||
if (_sessionController.session?.isComplete == true) {
|
||||
await _completeSession();
|
||||
return;
|
||||
}
|
||||
|
||||
_clearActivityState(loadingActivity: true);
|
||||
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue