apkfuckery/com.discord/smali_classes2/l0/l/c/g$a.smali

85 lines
1.8 KiB
Smali

.class public final Ll0/l/c/g$a;
.super Ljava/lang/Object;
.source "NewThreadWorker.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Ll0/l/c/g;->e(Ljava/util/concurrent/ScheduledThreadPoolExecutor;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = null
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 3
:try_start_0
sget-object v0, Ll0/l/c/g;->h:Ljava/util/concurrent/ConcurrentHashMap;
invoke-interface {v0}, Ljava/util/Map;->keySet()Ljava/util/Set;
move-result-object v0
invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
move-result-object v0
:goto_0
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_1
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Ljava/util/concurrent/ScheduledThreadPoolExecutor;
invoke-virtual {v1}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;->isShutdown()Z
move-result v2
if-nez v2, :cond_0
invoke-virtual {v1}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;->purge()V
goto :goto_0
:cond_0
invoke-interface {v0}, Ljava/util/Iterator;->remove()V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception v0
invoke-static {v0}, Lc0/j/a;->X(Ljava/lang/Throwable;)V
invoke-static {v0}, Ll0/o/l;->b(Ljava/lang/Throwable;)V
:cond_1
return-void
.end method