mirror of
https://github.com/elisspace/autopsy.git
synced 2026-09-06 02:24:30 +00:00
Ensure ingest top component is initialized in AWT thread when Window systme is ready
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user