1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-11-12 19:33:00 +00:00

Various cherry picks from world thread safety

- Ensure monitor draw lists are not reused after deleting them.
 - Make terminal methods synchronized, avoding NPEs and IOOBEs when
   resizing.
This commit is contained in:
SquidDev
2018-02-22 21:20:08 +00:00
parent 9be61abd6b
commit 244907a39a
2 changed files with 14 additions and 13 deletions

View File

@@ -29,6 +29,7 @@ public class ClientMonitor extends ClientTerminal
if( renderDisplayList != -1 )
{
ComputerCraft.deleteDisplayLists( renderDisplayList, 3 );
renderDisplayList = -1;
}
}
}