mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-13 00:16:16 +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
|
||||
};
|
||||
//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
|
||||
private static IngestManager instance;
|
||||
|
||||
@ -151,6 +152,9 @@ public class IngestManager {
|
||||
imageIngesters = new ArrayList<IngestImageThread>();
|
||||
}
|
||||
|
||||
/**
|
||||
* called by Installer in AWT thread once the Window System is ready
|
||||
*/
|
||||
void initUI() {
|
||||
if (ui == null) {
|
||||
IngestMessageTopComponent.findInstance();
|
||||
|
Loading…
x
Reference in New Issue
Block a user