Skip to content
Snippets Groups Projects
  1. May 06, 2021
  2. May 05, 2021
  3. May 04, 2021
  4. Apr 27, 2021
  5. Apr 26, 2021
  6. Apr 22, 2021
  7. Apr 21, 2021
  8. Apr 19, 2021
  9. Apr 16, 2021
  10. Apr 15, 2021
  11. Apr 13, 2021
    • George Kiagiadakis's avatar
      wplua: store closures only with a weak reference · 400aaf55
      George Kiagiadakis authored
      This allows closures to be properly unrefed when they are no longer
      used instead of staying alive until wireplumber exits
      
      Because GClosure has no weak references, we are now sharing the
      GPtrArray that holds these references among all the active closures
      and each closure is responsible for removing itself from the array
      when it is finalized. The lua engine holds a reference to a "store"
      object that also has a pointer to the array and when this "store"
      is finalized, all closures are invalidated and removed. Even if they
      stay alive afterwards, they are only holding a ref to an empty array
      400aaf55
    • George Kiagiadakis's avatar
Loading