cleanup after test + gracefully interrrupt loading
All checks were successful
studiorailgun/Renderer/pipeline/head This commit looks good
All checks were successful
studiorailgun/Renderer/pipeline/head This commit looks good
This commit is contained in:
parent
263312c761
commit
50a5da2f81
@ -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!");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -30,6 +30,7 @@ public class ClientDrawCellManagerTests {
|
||||
assertDoesNotThrow(() -> {
|
||||
new ClientDrawCellManager(null, 64);
|
||||
});
|
||||
Main.shutdown();
|
||||
}
|
||||
|
||||
@UnitTest
|
||||
|
||||
Loading…
Reference in New Issue
Block a user