We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bebc05 commit 0d428c6Copy full SHA for 0d428c6
WooCommerce/Classes/POS/Models/PointOfSaleAggregateModel.swift
@@ -186,7 +186,8 @@ extension PointOfSaleAggregateModel {
186
@available(iOS 17.0, *)
187
extension PointOfSaleAggregateModel {
188
func barcodeScanned(_ barcode: String) {
189
- Task {
+ Task { @MainActor [weak self] in
190
+ guard let self else { return }
191
let placeholderItemID = cart.addLoadingItem().id
192
193
analytics.track(
0 commit comments