Screen flash in black quickly when I swich from editing in landscape mode to other application like chrome

I am in landscape mode and editing my landscape, everything is fine.But when I switch to another application, for example chrome, my screen flashes in black very quickly.I am using 4.27, win10, RTX3080.Now I restart my project and it is OK at this moment.So I would like to know what is wrong in case it happened again.