Xóa scene con mà không xóa scene cha
This commit is contained in:
@@ -32,7 +32,7 @@ const imageWorker = new Worker('image-processing', async (job) => {
|
||||
});
|
||||
|
||||
// 5. Dọn dẹp file tạm
|
||||
if (fs.existsSync(tempFilePath)) fs.unlinkSync(tempFilePath);
|
||||
await fs.promises.unlink(tempFilePath).catch(() => {});
|
||||
|
||||
console.log(`[Worker] Hoàn tất xử lý Job ${job.id}`);
|
||||
return { success: true };
|
||||
|
||||
Reference in New Issue
Block a user