apkfuckery/com.discord/smali/a/d.smali
2019-02-04 21:08:30 +01:00

91 lines
1.6 KiB
Smali

.class public final La/d;
.super Ljava/lang/Object;
# interfaces
.implements Ljava/io/Closeable;
# instance fields
.field private bm:La/e;
.field private bn:Ljava/lang/Runnable;
.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
iget-object v1, p0, La/d;->bm:La/e;
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
iget-object v1, v1, La/e;->bo:Ljava/util/List;
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
iput-object v1, p0, La/d;->bm:La/e;
iput-object v1, p0, La/d;->bn:Ljava/lang/Runnable;
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