I have a problem where a progress indicator is not closed in some rare instances. The code which starts the task can be found here: https://gitlab.com/ppiag/intellij_gitlab_pipeline_monitor/-/blob/master/src/main/java/de/sist/gitlab/BackgroundUpdateService.java#L76
I have found no pattern when this happens. I have a button which starts this task and I can click it multiple times and everything works as expected but the task is also periodically started by a background task and at some point, sooner or later, I see the progress indicator which doesn't close and doesn't have a task behind it (as far as I can tell).
Is there any way to debug this?
I found the line `2021-04-28 19:46:45,546  WARN - .AbstractProgressIndicatorBase - This progress indicator is indeterminate, this may lead to visual inconsistency. Please call setIndeterminate(false) before you start progress.
git4idea.commands.GitStandardProgressAnalyzer$1.onLineAvailable(GitStandardProgressAnalyzer.java:46) ` which may indicate a bug but probably(?) isn't related to my problem.