How to eject a USB flash drive device from the computer in safe way.
Step 1: Close all windows that related to usb device.
Step 2: Click this icon.
Or in case the usb icon is hidden.
Step 3: Click Eject Mass...
Result: Eject the usb device the click on X.