API: Deleting resources

When a resource is created, an entry in the database is made and the file is uploaded into the .resources directory.

When the resource is deleted, the database entry is removed but the entry in the .resources folder remains.

Is this intentional?

I think it’s due to the resource management which handles their deletion, later ; not immediatly.

Based on what I learned in this forum, the resource will be deleted after no use in 10 days. So that it prevents a lot of edge case.

There’s a bug where resources are not deleted properly: