diff options
author | Robin Gareus <robin@gareus.org> | 2015-08-20 22:27:35 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-08-20 22:27:35 +0200 |
commit | e69368cc8fc381a4eb4afd69813fb7650fc35a81 (patch) | |
tree | b3d55ba910ee60a6a36c8135c9fb70db04e23f0f | |
parent | 6b8b4bb986d0cb5de6eb60829354e6ebc3693016 (diff) |
clear out some SessionHandleRef's on close.
-rw-r--r-- | libs/canvas/wave_view.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/canvas/wave_view.cc b/libs/canvas/wave_view.cc index a0b9e48fda..609738326c 100644 --- a/libs/canvas/wave_view.cc +++ b/libs/canvas/wave_view.cc @@ -141,6 +141,9 @@ WaveView::WaveView (Item* parent, boost::shared_ptr<ARDOUR::AudioRegion> region) WaveView::~WaveView () { invalidate_image_cache (); + if (images ) { + images->clear_cache (); + } } string |