jhavl / swift

MIT License
92 stars 22 forks source link

fixing crashes for headless #22

Closed rhys-newbury closed 1 year ago

rhys-newbury commented 2 years ago

Some issues currently exist when running Swift headless, specifically the interaction with restarting the environment, as _init will reset the headless flag and try to join the server, which only exists in non-headless mode.

This PR should fix these issues