flowkey / UIKit-cross-platform

Cross-platform Swift implementation of UIKit, mostly for Android
MIT License
600 stars 40 forks source link

Ensure SDL.unload() is called when pausing / resuming the Activity #162

Closed ephemer closed 6 years ago

ephemer commented 6 years ago

Sometimes all text and icon labels are blank on resume, which can lead to crashes when accessing label.layer.contents! after label.draw() (should actually never be nil)