Deleting files from Flash Drive

I don’t use a Mac, so I’m going off memory of what I’ve read here before but I think you have to empty your Trash while the drive is still connected to your Mac.