mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-13 08:26:15 +00:00
Ensure ingest top component is initialized in AWT thread when Window systme is ready
This commit is contained in:
parent
d6c80811c1
commit
357d4e697d
@ -143,7 +143,8 @@ public class IngestManager {
|
|||||||
DATA
|
DATA
|
||||||
};
|
};
|
||||||
//ui
|
//ui
|
||||||
private IngestUI ui = IngestMessageTopComponent.findInstance();
|
//Initialized by Installer in AWT thread once the Window System is ready
|
||||||
|
private IngestUI ui = null; //IngestMessageTopComponent.findInstance();
|
||||||
//singleton
|
//singleton
|
||||||
private static IngestManager instance;
|
private static IngestManager instance;
|
||||||
|
|
||||||
@ -151,6 +152,9 @@ public class IngestManager {
|
|||||||
imageIngesters = new ArrayList<IngestImageThread>();
|
imageIngesters = new ArrayList<IngestImageThread>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* called by Installer in AWT thread once the Window System is ready
|
||||||
|
*/
|
||||||
void initUI() {
|
void initUI() {
|
||||||
if (ui == null) {
|
if (ui == null) {
|
||||||
IngestMessageTopComponent.findInstance();
|
IngestMessageTopComponent.findInstance();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user