~raof/mir/lots-of-unused-lambda-captures

Viewing all changes in revision 4231.

  • Committer: Tarmac
  • Author(s): Christopher James Halse Rogers
  • Date: 2017-08-18 09:07:01 UTC
  • mfrom: (4230.1.1 trunk)
  • Revision ID: tarmac-20170818090701-lme1d65oq8zmxrxp
mf::SessionMediator: Remove buffer associations when removing a BufferStream.

Oops. We should really erase the association between a BufferStream and its buffers when the BufferStream is freed, not just remove the buffers from the cache…

Otherwise the stream_associated_buffers multimap will grow with each allocated BufferStream but will not shrink when they a BufferStream is released.

Approved by Alan Griffiths, mir-ci-bot.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: