element-hq / element-ios

A glossy Matrix collaboration client for iOS
https://element.io
Apache License 2.0
1.72k stars 480 forks source link

Fix a crash when the user taps play multiple times and the download fails #7799

Closed pixlwave closed 1 month ago

pixlwave commented 1 month ago

Fixes #7791

The crash had nothing to do with the network failures, tapping play once and killing the network fails gracefully. However if the user tapped play multiple times, then the app would crash handling the failure multiple times.

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud