This commit is contained in:
2024-10-14 02:25:07 +03:00
parent 031ae09a4b
commit 69173eb2b8
5 changed files with 15 additions and 13 deletions

View File

@@ -110,7 +110,7 @@ public class Pass<T> {
}
public String getName(){return getClass().getSimpleName();}
public String getDescription() {
return Global.mainModule.getPassDescription(getName());
return MainModule_.object.getPassDescription(getName());
}
public String getStartDescription() {
return getDescription();
@@ -198,7 +198,7 @@ public class Pass<T> {
ToPrint.add(this.getStartDescription());
}
if (necessary() != null) {
Pass next = Global.mainModule.getPass(necessary());
Pass next = MainModule_.object.getPass(necessary());
if (resetsNecessary() || !next.isDone())
next.createStack_r(ToDo, ToPrint);
}
@@ -269,10 +269,10 @@ public class Pass<T> {
animation_sem.acquire();
//---
form = null;
Global.mainModule.set(Current.PassForm, null);
MainModule_.object.set(Current.PassForm, null);
System.gc();
//--
Global.mainModule.set(Current.PassForm, form = new PassForm(this));
MainModule_.object.set(Current.PassForm, form = new PassForm(this));
dispatcher = new SwingWorker() {
@Override
protected Object doInBackground() {