mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-13 20:14:05 +09:00
new thread pooling strategy and test program WIP
This commit is contained in:
@@ -111,7 +111,13 @@ class UINSMenu(
|
||||
}
|
||||
|
||||
private fun popSubMenu() {
|
||||
if (listStack.size == 1) throw Error("Tried to pop root menu")
|
||||
if (listStack.size == 1) {
|
||||
System.err.println("[UINSMenu] Tried to pop root menu")
|
||||
Thread.currentThread().getStackTrace().forEach {
|
||||
System.err.println(it)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
val poppedUIItem = listStack.pop()
|
||||
width -= poppedUIItem.ui.width
|
||||
|
||||
Reference in New Issue
Block a user