Worksession Bug: Opening a .rws file saved without a main .3dm file

Another Worksession bug in Rhino 9 WIP: If a .rws file saved without a .3dm file open, then when that .rws file is opened in Rhino 9 WIP the display port will be black and Rhino is semi-frozen. (Tabs, menus, etc can be selected. Commands can be typed on the command line. But nothing happens. Rhino can be closed. No error messages are generated.)

This occurs with both .rws files created in V9 WIP and V8. However if such a .rws file is attempted to be opened in V8 then V8 just ignores the .rws file.

It seems that V9 WIP is hanging because it does not have .3dm file to open as the main file.

Example ,rws files created using the procedure described below.
RWS Test V9.rws (373 Bytes)
RWS Blank Test.rws (114 Bytes)

To reproduce:
Start a new Rhino session. Do not open a .3dm file
Optional: Create geometry
Attach a Worksession file
Do not Save or SaveAs
Save the Worksession to create a .rws file.
Close Rhino

Start a new Rhino V9 WIP session.
Open the saved .rws file
The display port will be black, and Rhino will be semi-frozen.

Thanks for reporting @davidcockey.

– Dale

RH-94939 is fixed in Rhino WIP