PDFBarcodeJS icon indicating copy to clipboard operation
PDFBarcodeJS copied to clipboard

Concurrency issue

Open rexshijaku opened this issue 2 years ago • 0 comments

This issue was reported by J.M via email:

Hello,

I have encountered some problems when I use PDFBarcodeJS. When the concurrency call program, the return result is always the same. Barcode is different in each PDF file,I guess this is not a problem caused by Closure. I look forward to getting help.

image

After some research I found out that,

The concurrency issue is caused by decodeSingle function of QuaggaJS mentioned here : https://github.com/serratus/quaggaJS/issues/135 . A solution looks like is provided here: https://github.com/ericblade/quagga2/pull/171 , if this is the only solution, then a major update (from quagga to quagga2) would be necessary.

rexshijaku avatar Apr 15 '22 22:04 rexshijaku