mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-05 08:33:37 +02:00
Added SimpleTask.isAlive
This commit is contained in:
@@ -71,6 +71,12 @@ public class CoalMine {
|
||||
reporter.getLabels().add("started=" + label);
|
||||
}
|
||||
}
|
||||
HeapField hfDestroyed = instance.get(className, "destroyed");
|
||||
if (hfDestroyed != null) {
|
||||
Boolean destroyed = hfDestroyed.getValue().getAsBoolean();
|
||||
if (destroyed != null)
|
||||
reporter.getLabels().add("destroyed=" + destroyed);
|
||||
}
|
||||
} else if (className.equals(TwoStateOwner.class.getName())) {
|
||||
HeapField hfState = instance.get(className, "state");
|
||||
if (hfState != null) {
|
||||
|
||||
Reference in New Issue
Block a user