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.
2 parents da2ffdc + 0d428c6 commit 63f0810Copy full SHA for 63f0810
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