Process memory protection

Does Bitwarden store passwords encrypted in process memory on device. And does it erase security critical memory.