should close fd in QRCode.Save method
yeung66 opened this issue · comments
YeungYeah commented
without closing the fd create in QRCode.Save(saveToPath string)
, the qrcode image file is always used and cannot be processed
should add
defer fd.Close()
before return statement
yeqown commented
Would do you mind opening a PR for this?
YeungYeah commented
ok