alexaubry / alexaubry/BulletinBoard
Calling dismissBulletin whilst bulletin is dismissing causes crash
Abierto
- 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
Evaluación
Este issue todavía no se ha evaluado.