From 8119ee51b3b03d1c02c7b533638228f356f2b952 Mon Sep 17 00:00:00 2001 From: Matt Date: Fri, 20 Sep 2024 16:57:58 +0100 Subject: [PATCH 1/3] chore: Use launch to prevent errors from being suppressed --- .../kotlin/com/noxcrew/interfaces/view/AbstractInterfaceView.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interfaces/src/main/kotlin/com/noxcrew/interfaces/view/AbstractInterfaceView.kt b/interfaces/src/main/kotlin/com/noxcrew/interfaces/view/AbstractInterfaceView.kt index 2d8ed06..0313952 100644 --- a/interfaces/src/main/kotlin/com/noxcrew/interfaces/view/AbstractInterfaceView.kt +++ b/interfaces/src/main/kotlin/com/noxcrew/interfaces/view/AbstractInterfaceView.kt @@ -257,7 +257,7 @@ public abstract class AbstractInterfaceView Date: Fri, 20 Sep 2024 17:20:10 +0100 Subject: [PATCH 2/3] remove old try catch, let coroutine scope handle it nicely instead --- .../noxcrew/interfaces/view/AbstractInterfaceView.kt | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/interfaces/src/main/kotlin/com/noxcrew/interfaces/view/AbstractInterfaceView.kt b/interfaces/src/main/kotlin/com/noxcrew/interfaces/view/AbstractInterfaceView.kt index 0313952..44d4bd5 100644 --- a/interfaces/src/main/kotlin/com/noxcrew/interfaces/view/AbstractInterfaceView.kt +++ b/interfaces/src/main/kotlin/com/noxcrew/interfaces/view/AbstractInterfaceView.kt @@ -267,15 +267,11 @@ public abstract class AbstractInterfaceView Date: Fri, 20 Sep 2024 17:21:33 +0100 Subject: [PATCH 3/3] spotless --- .../kotlin/com/noxcrew/interfaces/view/AbstractInterfaceView.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/interfaces/src/main/kotlin/com/noxcrew/interfaces/view/AbstractInterfaceView.kt b/interfaces/src/main/kotlin/com/noxcrew/interfaces/view/AbstractInterfaceView.kt index 44d4bd5..695448d 100644 --- a/interfaces/src/main/kotlin/com/noxcrew/interfaces/view/AbstractInterfaceView.kt +++ b/interfaces/src/main/kotlin/com/noxcrew/interfaces/view/AbstractInterfaceView.kt @@ -17,7 +17,6 @@ import com.noxcrew.interfaces.utilities.CollapsablePaneMap import com.noxcrew.interfaces.utilities.InterfacesCoroutineDetails import com.noxcrew.interfaces.utilities.forEachInGrid import kotlinx.coroutines.Job -import kotlinx.coroutines.async import kotlinx.coroutines.launch import kotlinx.coroutines.sync.Mutex import kotlinx.coroutines.withTimeout