package com.discord.utilities.views; import android.view.ViewTreeObserver; import c.q.a.k.a; import java.util.concurrent.CancellationException; import kotlin.jvm.internal.Ref$ObjectRef; /* compiled from: ViewCoroutineScope.kt */ public final class ViewCoroutineScopeKt$coroutineScope$1 implements ViewTreeObserver.OnWindowAttachListener { public final /* synthetic */ Ref$ObjectRef $scope; public ViewCoroutineScopeKt$coroutineScope$1(Ref$ObjectRef ref$ObjectRef) { this.$scope = ref$ObjectRef; } @Override // android.view.ViewTreeObserver.OnWindowAttachListener public void onWindowAttached() { } @Override // android.view.ViewTreeObserver.OnWindowAttachListener public void onWindowDetached() { a.i(this.$scope.element, new CancellationException("view detached from window")); } }