updateCurrentList() Method in GuiReplayCenter properly checks for Thread.interrupted() to avoid long freeze screens when switching Tab
This commit is contained in:
@@ -491,6 +491,7 @@ public class GuiReplayCenter extends GuiScreen implements GuiYesNoCallback {
|
|||||||
}
|
}
|
||||||
|
|
||||||
for(FileInfo i : pagination.getFiles()) {
|
for(FileInfo i : pagination.getFiles()) {
|
||||||
|
if(Thread.interrupted()) break;
|
||||||
try {
|
try {
|
||||||
File tmp = null;
|
File tmp = null;
|
||||||
if(i.hasThumbnail()) {
|
if(i.hasThumbnail()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user