Skip to content
  1. Mar 30, 2023
  2. Apr 20, 2022
  3. Jun 28, 2021
  4. Apr 30, 2021
  5. Nov 20, 2020
  6. Sep 22, 2020
  7. Sep 21, 2020
  8. Aug 25, 2020
  9. Jun 14, 2020
  10. May 16, 2020
  11. Feb 06, 2020
  12. Feb 04, 2020
  13. Jan 17, 2019
  14. Jan 16, 2019
    • Harlen Tan's avatar
      Fix file reference leak after zip file exception · 4900845c
      Harlen Tan authored
      Just use a normal file such as a png, rename it to HelloApp.apk
      Test Demo:
      ```javascript
      const util = require('util')
      const ApkReader = require('adbkit-apkreader')
      
      process.stdin.resume();// prevent the current process from exit
      
      ApkReader.open('HelloApp.apk')
        .then(reader => reader.readManifest())
        .then(manifest => console.log(util.inspect(manifest, { depth: null }))).catch(function(e) {
          console.error(e);
        })
      ```
      then run the demo 
      
      After that, the code above will catch the zlib error.
      
      But use the command below , you will find that there is a reference leak for  the HelloApp.apk.
      ```
      lsof -s|grep HelloApp.apk
      ```
      4900845c
  15. Nov 11, 2018
  16. Sep 26, 2018
  17. Jul 11, 2018
  18. Jul 09, 2018
  19. May 16, 2018
  20. Apr 20, 2018