SchedulerPoolFactory$ScheduledTask.smali
.class final Lio/reactivex/internal/schedulers/SchedulerPoolFactory$ScheduledTask;
.super Ljava/lang/Object;
.source "SchedulerPoolFactory.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/schedulers/SchedulerPoolFactory;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = "ScheduledTask"
.end annotation
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method constructor <init>()V
.registers 1
.line 125
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.registers 4
.line 129
:try_start_0
new-instance v0, Ljava/util/ArrayList;
sget-object v1, Lio/reactivex/internal/schedulers/SchedulerPoolFactory;->POOLS:Ljava/util/Map;
invoke-interface {v1}, Ljava/util/Map;->keySet()Ljava/util/Set;
move-result-object v1
invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V
invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
move-result-object v0
:goto_f
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_2b
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Ljava/util/concurrent/ScheduledThreadPoolExecutor;
.line 130
.local v1, "e":Ljava/util/concurrent/ScheduledThreadPoolExecutor;
invoke-virtual {v1}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;->isShutdown()Z
move-result v2
if-eqz v2, :cond_27
.line 131
sget-object v2, Lio/reactivex/internal/schedulers/SchedulerPoolFactory;->POOLS:Ljava/util/Map;
invoke-interface {v2, v1}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;
goto :goto_2a
.line 133
:cond_27
invoke-virtual {v1}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;->purge()V
:try_end_2a
.catchall {:try_start_0 .. :try_end_2a} :catchall_2c
.line 135
.end local v1 # "e":Ljava/util/concurrent/ScheduledThreadPoolExecutor;
:goto_2a
goto :goto_f
.line 139
:cond_2b
goto :goto_30
.line 136
:catchall_2c
move-exception v0
.line 138
.local v0, "e":Ljava/lang/Throwable;
invoke-static {v0}, Lio/reactivex/plugins/RxJavaPlugins;->onError(Ljava/lang/Throwable;)V
.line 140
.end local v0 # "e":Ljava/lang/Throwable;
:goto_30
return-void
.end method