I basically never have this problem on Linux.
I think programs can't hold removable media busy by default on Debian. If you remove, you lose whatever changes aren't there. Either way, Linux programs just read files and close them, they mostly don't keep files open.