package Ġme . lens vol . black connect Ċ Ċ import Ġcom . intellij . openapi . components . Service Ċ import Ġcom . intellij . openapi . progress . Progress Indicator Ċ import Ġjava . lang . ref . Weak Reference Ċ Ċ @ Service Ċ class ĠBlack Connect Progress Tracker Ġ{ ĊĠĠĠ Ġprivate Ġval Ġindicators Ġ= ĠHashMap < String , ĠWeak Reference < Progress Indicator >>() ĊĊĠĠĠ Ġfun Ġregister Operation On Tag ( tag : ĠString , Ġindicator : ĠProgress Indicator ) Ġ{ ĊĠĠĠĠĠĠĠ Ġcancel Operation On Tag ( tag ) ĊĠĠĠĠĠĠĠ Ġindicators [ tag ] Ġ= ĠWeak Reference ( indicator ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġcancel Operation On Tag ( tag : ĠString ) Ġ{ ĊĠĠĠĠĠĠĠ Ġindicators [ tag ]?. get ()?. cancel () ĊĠĠĠ Ġ} Ċ } Ċ