u.smali
.class final Lio/reactivex/u;
.super Ljava/lang/Object;
.source "Scheduler.java"
# interfaces
.implements Lio/reactivex/disposables/b;
.implements Ljava/lang/Runnable;
# instance fields
.field private bOh:Ljava/lang/Runnable;
.field private volatile disposed:Z
.field private worker:Lio/reactivex/v;
# direct methods
.method constructor <init>(Ljava/lang/Runnable;Lio/reactivex/v;)V
.registers 3
.prologue
.line 413
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 414
iput-object p1, p0, Lio/reactivex/u;->bOh:Ljava/lang/Runnable;
.line 415
iput-object p2, p0, Lio/reactivex/u;->worker:Lio/reactivex/v;
.line 416
return-void
.end method
# virtual methods
.method public final dispose()V
.registers 2
.prologue
.line 433
const/4 v0, 0x1
iput-boolean v0, p0, Lio/reactivex/u;->disposed:Z
.line 434
iget-object v0, p0, Lio/reactivex/u;->worker:Lio/reactivex/v;
invoke-virtual {v0}, Lio/reactivex/v;->dispose()V
.line 435
return-void
.end method
.method public final isDisposed()Z
.registers 2
.prologue
.line 439
iget-boolean v0, p0, Lio/reactivex/u;->disposed:Z
return v0
.end method
.method public final run()V
.registers 3
.prologue
.line 420
iget-boolean v0, p0, Lio/reactivex/u;->disposed:Z
if-nez v0, :cond_9
.line 422
:try_start_4
iget-object v0, p0, Lio/reactivex/u;->bOh:Ljava/lang/Runnable;
invoke-interface {v0}, Ljava/lang/Runnable;->run()V
:try_end_9
.catch Ljava/lang/Throwable; {:try_start_4 .. :try_end_9} :catch_a
.line 429
:cond_9
return-void
.line 423
:catch_a
move-exception v0
.line 424
invoke-static {v0}, Lio/reactivex/exceptions/d;->throwIfFatal(Ljava/lang/Throwable;)V
.line 425
iget-object v1, p0, Lio/reactivex/u;->worker:Lio/reactivex/v;
invoke-virtual {v1}, Lio/reactivex/v;->dispose()V
.line 426
invoke-static {v0}, Lio/reactivex/internal/util/ExceptionHelper;->l(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
move-result-object v0
throw v0
.end method