apkfuckery/com.discord/smali/a/d.smali

93 lines
1.6 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class public final La/d;
.super Ljava/lang/Object;
2019-02-04 20:29:01 +00:00
.source "CancellationTokenRegistration.java"
2019-02-04 20:08:30 +00:00
# interfaces
.implements Ljava/io/Closeable;
# instance fields
2019-02-04 20:42:43 +00:00
.field private bh:La/e;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
.field private bi:Ljava/lang/Runnable;
2019-02-04 20:08:30 +00:00
.field private closed:Z
.field private final lock:Ljava/lang/Object;
# virtual methods
.method public final close()V
.locals 3
iget-object v0, p0, La/d;->lock:Ljava/lang/Object;
monitor-enter v0
:try_start_0
iget-boolean v1, p0, La/d;->closed:Z
if-eqz v1, :cond_0
monitor-exit v0
return-void
:cond_0
const/4 v1, 0x1
iput-boolean v1, p0, La/d;->closed:Z
2019-02-04 20:42:43 +00:00
iget-object v1, p0, La/d;->bh:La/e;
2019-02-04 20:08:30 +00:00
iget-object v2, v1, La/e;->lock:Ljava/lang/Object;
monitor-enter v2
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
:try_start_1
invoke-virtual {v1}, La/e;->u()V
2019-02-04 20:42:43 +00:00
iget-object v1, v1, La/e;->bj:Ljava/util/List;
2019-02-04 20:08:30 +00:00
invoke-interface {v1, p0}, Ljava/util/List;->remove(Ljava/lang/Object;)Z
monitor-exit v2
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
const/4 v1, 0x0
:try_start_2
2019-02-04 20:42:43 +00:00
iput-object v1, p0, La/d;->bh:La/e;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
iput-object v1, p0, La/d;->bi:Ljava/lang/Runnable;
2019-02-04 20:08:30 +00:00
monitor-exit v0
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_1
return-void
:catchall_0
move-exception v1
:try_start_3
monitor-exit v2
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_0
:try_start_4
throw v1
:catchall_1
move-exception v1
monitor-exit v0
:try_end_4
.catchall {:try_start_4 .. :try_end_4} :catchall_1
throw v1
.end method