cleanup after test + gracefully interrrupt loading
All checks were successful
studiorailgun/Renderer/pipeline/head This commit looks good

This commit is contained in:
austin 2025-05-15 16:48:08 -04:00
parent 263312c761
commit 50a5da2f81
2 changed files with 3 additions and 2 deletions

View File

@ -53,7 +53,7 @@ public class ViewportLoading {
try {
TimeUnit.MILLISECONDS.sleep(10);
} catch (InterruptedException e) {
e.printStackTrace();
throw new Error("Loading thread was interrupted!");
}
}
//add player to viewport realm
@ -72,7 +72,7 @@ public class ViewportLoading {
try {
TimeUnit.MILLISECONDS.sleep(10);
} catch (InterruptedException e) {
e.printStackTrace();
throw new Error("Loading thread was interrupted!");
}
}

View File

@ -30,6 +30,7 @@ public class ClientDrawCellManagerTests {
assertDoesNotThrow(() -> {
new ClientDrawCellManager(null, 64);
});
Main.shutdown();
}
@UnitTest