1. 04 Oct, 2017 2 commits
  2. 28 Sep, 2017 1 commit
  3. 26 Sep, 2017 2 commits
  4. 06 Sep, 2017 1 commit
  5. 17 Aug, 2017 1 commit
  6. 16 Aug, 2017 1 commit
  7. 28 Jun, 2017 1 commit
    • Guillaume Giraud's avatar
      [Android] Fix Djinni initialization crash in multi shared library case (#310) · b55ac101
      Guillaume Giraud authored
      Fix Djinni initialization crash in multi shared library case on Android (i.e. djinni_support_lib is a shared library used by other shared libraries).
      
      Replaced generic static_registration class with non-templatized helpers in JniClassInitializer, which simplifies the code and avoids the issues of multiple instantiations of the same static data.
      b55ac101
  8. 10 Jun, 2017 1 commit
  9. 18 May, 2017 1 commit
  10. 11 Apr, 2017 1 commit
  11. 07 Apr, 2017 3 commits
  12. 06 Apr, 2017 2 commits
  13. 05 Apr, 2017 1 commit
  14. 04 Apr, 2017 4 commits
  15. 03 Apr, 2017 2 commits
  16. 31 Mar, 2017 2 commits
  17. 16 Mar, 2017 1 commit
  18. 14 Mar, 2017 1 commit
  19. 10 Mar, 2017 1 commit
  20. 01 Feb, 2017 1 commit
  21. 22 Jan, 2017 1 commit
  22. 20 Jan, 2017 1 commit
  23. 19 Jan, 2017 1 commit
  24. 14 Jan, 2017 1 commit
  25. 12 Jan, 2017 2 commits
  26. 06 Jan, 2017 1 commit
  27. 04 Jan, 2017 1 commit
  28. 28 Dec, 2016 1 commit
  29. 23 Dec, 2016 1 commit
    • Andrew Twyman's avatar
      Add @autorelease pool in ObjC proxy destructors · 7f9bfef5
      Andrew Twyman authored
      This is fixing a memory leak found in Dropbox's iOS networking libraries. Some ObjC objects were being autoreleased into a pool which is never flushed (the top-level pool on a C++-owned thread. This was Djinni violating its contracts around language isolation. The root cause turned out to be the destructor of an ObjcProxy object. Since it's called directly from C++, and does all its work in destructors, it was manipulating ObjC objects without an @autoreleasepool.
      
      The fix is more complex than I'd like due to the need to arrange for destructors to run inside of an @autorelease block, which forces an awkward code structure. Furthermore, I can't use optional without knowing what namespace to look in to find nullopt, which isn't easily extractable from Djinni's current usage, so I had to write my own. I'd very much like to find a simpler fix, so suggested follow-on diffs are welcome.
      7f9bfef5