diff --git a/src/main/java/de/bixilon/minosoft/gui/rendering/RenderUtil.kt b/src/main/java/de/bixilon/minosoft/gui/rendering/RenderUtil.kt index 194884e78..bde0d7145 100644 --- a/src/main/java/de/bixilon/minosoft/gui/rendering/RenderUtil.kt +++ b/src/main/java/de/bixilon/minosoft/gui/rendering/RenderUtil.kt @@ -1,6 +1,6 @@ /* * Minosoft - * Copyright (C) 2020-2022 Moritz Zwerger + * Copyright (C) 2020-2023 Moritz Zwerger * * This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. * @@ -31,7 +31,7 @@ object RenderUtil { } fun RenderContext.runAsync(runnable: () -> Unit) { - DefaultThreadPool += ThreadPoolRunnable(ThreadPool.HIGHER) { + DefaultThreadPool += ThreadPoolRunnable(ThreadPool.HIGHER, forcePool = false) { try { runnable() } catch (error: Throwable) {