fix #1297: export logs without 'Schedulers.io()'

This commit is contained in:
Glavo
2022-01-13 01:35:42 +08:00
committed by Yuhui Huang
parent c0472056ac
commit d1ba758c6f

View File

@@ -17,7 +17,6 @@
*/ */
package org.jackhuang.hmcl.game; package org.jackhuang.hmcl.game;
import org.jackhuang.hmcl.task.Schedulers;
import org.jackhuang.hmcl.util.Logging; import org.jackhuang.hmcl.util.Logging;
import org.jackhuang.hmcl.util.StringUtils; import org.jackhuang.hmcl.util.StringUtils;
import org.jackhuang.hmcl.util.io.Zipper; import org.jackhuang.hmcl.util.io.Zipper;
@@ -77,6 +76,6 @@ public final class LogExporter {
} catch (IOException e) { } catch (IOException e) {
throw new UncheckedIOException(e); throw new UncheckedIOException(e);
} }
}, Schedulers.io()); });
} }
} }