alexaubry / alexaubry/BulletinBoard

Calling dismissBulletin whilst bulletin is dismissing causes crash

Abierto
#148 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Swift
Estrellas
5.3k
Forks
301
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

If I call `bulletinManager.dismissBulletin(animated: true)` when the bulletin has already been dismissed, it crashes saying `BLTNItemManager must only be used from the main thread.` If the `dismissBulletin()` function is called immediately after the manager has been dismissed, `bulletinManager.isShowingBulletin` is still `true`. There needs to be a check like "if the manager is no longer presenting, or is in the middle of dismissing, ignore the call to dismiss".

I'm using the latest version of BulletinBoard

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.