axcwg 3 月之前
父節點
當前提交
f58d02e423
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      main.js

+ 5 - 0
main.js

@@ -92,6 +92,11 @@ async function Submit(req) {
             fetch(req.body.albumCover).then(res => {
                 res.arrayBuffer().then(async r => {
                     if(r.byteLength === 0){
+                        GC()
+                        currentTask.shift();
+                        console.log(queue.contents)
+                        console.log(currentTask)
+                        queue.next()
                         return
                     }
                     if (!fs.existsSync("tmp")) {