mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-22 10:54:19 -04:00
Resolve #13900 - job list comodification when closing editor
This commit is contained in:
parent
263760f153
commit
79a1d1e38f
@ -335,7 +335,7 @@ class MapEditorScreen(map: TileMap? = null) : BaseScreen(), RecreateOnResize {
|
||||
}
|
||||
|
||||
private fun cancelJobs() {
|
||||
for (job in jobs)
|
||||
for (job in jobs.toList())
|
||||
job.cancel()
|
||||
jobs.clear()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user