SwiftfulRouting
SwiftfulRouting copied to clipboard
crashes when I repeatedly press and dismiss the sheet
When I repeatedly press and dismiss the sheet, it crashes and throws error "RouterView.swift:483: Fatal error: Did dismiss pushed screen but could not find new root screen"
I noticed that the Sample project also encounters a similar issue when pressing and continuously dismissing the sheet
same issue: 🕊️ SwiftfulRouting 🕊️ -> Failed to execute onDismiss methods and remove routing flows after screen dismissal. This may cause undefined behavior.
Hi @xqsadness I'm still not seeing how to reproduce this. You're saying to open the app and click "dismiss screen" 100x?
Hi @SwiftfulThinking I think you need to open the app and click "dismiss screen" 10-20 times, or possibly fewer, to reproduce the issue.
And here is the video I recorded: "https://drive.google.com/file/d/1T47elnTUTXtLqB-MnkQlpcEYzLU_Im6D/view?usp=sharing"
The same issue occurs on the device and when clicking the "dismiss" button.