nika-begiashvili / libarchivejs

Archive library for browsers
MIT License
288 stars 35 forks source link

Ensure correct files are returned by the single file extraction (Fix #28) #40

Closed AlexandreBonaventure closed 10 months ago

AlexandreBonaventure commented 3 years ago

see https://github.com/nika-begiashvili/libarchivejs/issues/28

This PR ensure extract file command return the right file by getting rid of the callback queue and instead check the path in the worker msg before resolving