mirror of
https://github.com/mirror/jdownloader.git
synced 2024-11-27 05:50:51 +00:00
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:
parent
3f03915ac1
commit
7de9fbb77a
Binary file not shown.
Binary file not shown.
@ -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();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
@ -132,6 +132,7 @@ public class ExtractionExtension extends AbstractExtension<ExtractionConfig> imp
|
||||
*/
|
||||
public void setExtractor(IExtraction extractor) {
|
||||
extractors.add(extractor);
|
||||
extractor.setLogger(getLogger());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user