Name the loading thread and ask java to push its priority down.
This commit is contained in:
parent
bf14638e07
commit
597dabc47e
@ -171,6 +171,11 @@ public abstract class ComponentPresetDatabase extends Database<ComponentPreset>
|
|||||||
* Background thread for loading the presets.
|
* Background thread for loading the presets.
|
||||||
*/
|
*/
|
||||||
private class LoadingThread extends Thread {
|
private class LoadingThread extends Thread {
|
||||||
|
|
||||||
|
private LoadingThread() {
|
||||||
|
this.setName("PresetLoadingThread");
|
||||||
|
this.setPriority(MIN_PRIORITY);
|
||||||
|
}
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
load();
|
load();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user