ExtractionExtensions: fixed possible npe in logger during init

MacOSApplicationAdapter: fixed deadlock during shutdown
SevenZip: updated arch infos

git-svn-id: svn://svn.jdownloader.org/jdownloader/trunk@16178 ebf7c1c2-ba36-0410-9fe8-c592906822b4
This commit is contained in:
jiaz 2012-03-20 17:21:21 +00:00
parent 3f03915ac1
commit 7de9fbb77a
4 changed files with 10 additions and 1 deletions

View File

@ -82,7 +82,15 @@ public class MacOSApplicationAdapter implements QuitHandler, AboutHandler, Prefe
@Override
public void run() {
if (quitResponse != null) quitResponse.performQuit();
new Thread() {
public void run() {
/*
* own thread because else it will block, performQuit
* calls exit again
*/
if (quitResponse != null) quitResponse.performQuit();
};
}.start();
}
});
}

View File

@ -132,6 +132,7 @@ public class ExtractionExtension extends AbstractExtension<ExtractionConfig> imp
*/
public void setExtractor(IExtraction extractor) {
extractors.add(extractor);
extractor.setLogger(getLogger());
}
/**