saagarjha / Ensemble

Cast Mac windows to visionOS
https://testflight.apple.com/join/Pq1HzHqe
GNU Affero General Public License v3.0
847 stars 37 forks source link

Handle last window closing #8

Open saagarjha opened 4 months ago

saagarjha commented 4 months ago

When the last window closes, we should throw up the connection screen again when the app is launched. It is probably good enough to kill the app/discard all scenes and let the system recreate it for us

kgelnerFW commented 4 months ago

Heads up that related to this, I killed off the last Ensemble window in AVP, then killed off the app on the mac (simulator) and the Mac app crashed :

Screenshot 2024-02-06 at 3 15 47 PM

I didn't open a new issue as I thought the problem might be addressed by this open issue.

saagarjha commented 4 months ago

Yep I know about that one, I don't handle errors or connection changes at all right now. I'll get around to it eventually!