RavenProject / ravenwallet-ios

MIT License
25 stars 21 forks source link

Updating the ui from a background thread causes crash #145

Closed a2hill closed 4 years ago

a2hill commented 4 years ago

Trying to update the ui from anywhere but the main thread will cause the application to crash. In this case showErrorMessage is updating the UI so I've dispatched it to the main thread.