Make sure completer is only completed once
This commit is contained in:
parent
bbb1caa313
commit
7eb490ced4
1 changed files with 3 additions and 1 deletions
|
@ -375,7 +375,9 @@ class SemanticSearchService {
|
|||
|
||||
void _startIndexing() {
|
||||
_logger.info("Start indexing");
|
||||
_healthCheckCompleter.complete();
|
||||
if (!_healthCheckCompleter.isCompleted) {
|
||||
_healthCheckCompleter.complete();
|
||||
}
|
||||
}
|
||||
|
||||
void _pauseIndexing() {
|
||||
|
|
Loading…
Add table
Reference in a new issue