migueldeicaza / SwiftTermApp

MIT License
305 stars 29 forks source link

Crash clue on SessionView rehost crash #170

Closed migueldeicaza closed 2 years ago

migueldeicaza commented 2 years ago

Clue on the crash on the rehost call:

image

The comment was: This happens when transitioning back to the app on an iPhone 12, in the session view.

This line:

                .onDisappear { self.immediateController.rehost () })
migueldeicaza commented 2 years ago

Added a fence around the potential for viewController being nil, but I do not understand it yet.

The sole comment that shed some light was:

Crash while transitioning from terminal back to app