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

93 lines
1.6 KiB
Smali
Raw Normal View History

2019-07-24 11:27:29 +00:00
.class public final La/d;
.super Ljava/lang/Object;
.source "CancellationTokenRegistration.java"
# interfaces
.implements Ljava/io/Closeable;
# instance fields
.field private final lock:Ljava/lang/Object;
2019-10-07 23:23:22 +00:00
.field private t:La/e;
.field private u:Ljava/lang/Runnable;
2019-10-09 23:16:36 +00:00
.field private w:Z
2019-07-24 11:27:29 +00:00
# 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
2019-10-09 23:16:36 +00:00
iget-boolean v1, p0, La/d;->w:Z
2019-07-24 11:27:29 +00:00
if-eqz v1, :cond_0
monitor-exit v0
return-void
:cond_0
const/4 v1, 0x1
2019-10-09 23:16:36 +00:00
iput-boolean v1, p0, La/d;->w:Z
2019-07-24 11:27:29 +00:00
2019-10-07 23:23:22 +00:00
iget-object v1, p0, La/d;->t:La/e;
2019-07-24 11:27:29 +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
2019-10-09 23:16:36 +00:00
invoke-virtual {v1}, La/e;->i()V
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
iget-object v1, v1, La/e;->z:Ljava/util/List;
2019-07-24 11:27:29 +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-10-07 23:23:22 +00:00
iput-object v1, p0, La/d;->t:La/e;
2019-07-24 11:27:29 +00:00
2019-10-07 23:23:22 +00:00
iput-object v1, p0, La/d;->u:Ljava/lang/Runnable;
2019-07-24 11:27:29 +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