[haiku-commits] Change in haiku[master]: Media Kit: Clear the BufferCache of buffers for disconnected clients

  • From: Gerrit <review@xxxxxxxxxxxxxxxxxxx>
  • To: waddlesplash <waddlesplash@xxxxxxxxx>, haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 14 Aug 2019 22:09:07 +0000

From Ryan Leavengood <leavengood@xxxxxxxxx>:

Ryan Leavengood has uploaded this change for review. ( 
https://review.haiku-os.org/c/haiku/+/1717 ;)


Change subject: Media Kit: Clear the BufferCache of buffers for disconnected 
clients
......................................................................

Media Kit: Clear the BufferCache of buffers for disconnected clients

Without this, the BufferCache keeps a reference to these buffers inside the
media_addon_server until the media_addon_server quits, which is pretty much
never.

This was the bug no one thought could be fixed.

Should fix #4954 and #14755, and possibly #13614 and #14047, though I think
they may be something else.
---
M src/kits/media/BufferCache.cpp
M src/kits/media/BufferCache.h
M src/kits/media/BufferConsumer.cpp
3 files changed, 45 insertions(+), 7 deletions(-)



  git pull ssh://git.haiku-os.org:22/haiku refs/changes/17/1717/1
--
To view, visit https://review.haiku-os.org/c/haiku/+/1717
To unsubscribe, or for help writing mail filters, visit 
https://review.haiku-os.org/settings

Gerrit-Project: haiku
Gerrit-Branch: master
Gerrit-Change-Id: I26463899724b9d1520d97fec785e435f536eaf3d
Gerrit-Change-Number: 1717
Gerrit-PatchSet: 1
Gerrit-Owner: Ryan Leavengood <leavengood@xxxxxxxxx>
Gerrit-MessageType: newchange

Other related posts:

  • » [haiku-commits] Change in haiku[master]: Media Kit: Clear the BufferCache of buffers for disconnected clients - Gerrit