We've been getting a crash on WMFTooltipPresenting line self?.tooltipViewModels.removeFirst() on Xcode organizer. When the array is empty, is some cases, the system might try to execute this line.
Steps to reproduce
Fresh install the app on the device and enable tabs. Open the article view and click back fast. The tooltip can still be seen on screen when you get back to explore. The app crashes when you try to click the tooltip.
Test Steps
Test in 7.8.3.
- Fresh install app on device and enable article tabs dev settings
- After onboarding, tap featured article. After tapping "Got it" on first tooltip button, quickly tap the Back button.
- App should not crash.
- Go back to an article. You should see article tabs tooltips present.
- Tap Got It to dismiss tooltips.
- Go to another article, tooltips should not present.
- Terminate app, launch again. Go to another article. Tooltips should not present.