Ending playtest while studio is paused freezes studio.

If you pause your playtest either with F5 or with a breakpoint and end the playtest this will brick studio completely. After around a minute studio will resume working but this is still a super annoying issue. Once studio has unfrozen it will produce this error:
image

Video:

System Info:
Windows 10
Ryzen 9 9800X3D
RTX 3080