fix: clean up if item is not found
diff --git a/erpnext/public/js/utils/barcode_scanner.js b/erpnext/public/js/utils/barcode_scanner.js
index 95ed026..be4e4d2 100644
--- a/erpnext/public/js/utils/barcode_scanner.js
+++ b/erpnext/public/js/utils/barcode_scanner.js
@@ -44,6 +44,7 @@
 					message: __('Cannot find Item with this Barcode'),
 					indicator: 'red'
 				});
+				this.clean_up();
 				return;
 			}