SwiftfulRouting icon indicating copy to clipboard operation
SwiftfulRouting copied to clipboard

crashes when I repeatedly press and dismiss the sheet

Open xqsadness opened this issue 1 year ago • 3 comments

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"

xqsadness avatar May 14 '24 00:05 xqsadness

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.

xqsadness avatar May 14 '24 02:05 xqsadness

Hi @xqsadness I'm still not seeing how to reproduce this. You're saying to open the app and click "dismiss screen" 100x?

SwiftfulThinking avatar Jun 06 '24 01:06 SwiftfulThinking

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.

xqsadness avatar Jun 06 '24 13:06 xqsadness