its a bug, you cant eject a drive if you are using it or a different one, i had this issue when i was reinstalling all of my stuff i would be using a mounted image to install something, and i couldn't eject previous images until i wasn't using any of them