axcwg před 3 měsíci
rodič
revize
f58d02e423
1 změnil soubory, kde provedl 5 přidání a 0 odebrání
  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")) {