1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-23 16:28:51 -05:00

* see if async works (even though it breaks the logic)

This commit is contained in:
Reinhard Pointner 2015-05-05 14:45:53 +00:00
parent a259d812dc
commit 75d58e4fe8

View File

@ -42,8 +42,8 @@ public class MacAppUtilities {
public static List<File> NSOpenPanel_openPanel_runModal(String title, boolean multipleMode, boolean canChooseDirectories, boolean canChooseFiles, String[] allowedFileTypes) {
List<File> result = new ArrayList<File>();
System.out.println("before dispatch_sync");
dispatch_sync(new Runnable() {
System.out.println("before dispatch_async");
dispatch_async(new Runnable() {
@Override
public void run() {
@ -79,7 +79,7 @@ public class MacAppUtilities {
}
});
System.out.println("after dispatch_sync");
System.out.println("after dispatch_async");
return result;
}