diff options
author | Robin Gareus <robin@gareus.org> | 2016-04-28 21:37:18 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-04-28 21:37:18 +0200 |
commit | 17d782829e9321d5a1084851834356edd12a4bc3 (patch) | |
tree | 782c8c4f5bc395a7472689fc735a6ec81d8c1580 /tools/luadevel | |
parent | 633f2189111be18cb03fe847707b0f598e453abe (diff) |
flush pending Session Events at session close
This prevents a memory leak: The session is closed.
The session-butler drops memory pool trash. The Engine keeps running.
Once the AudioEngine is taken down (sample-rate switch, or at exit),
the backend process-thread is terminated but there is no trash-can anymore.
If there are unprocessed SessionEvents, this calls
free_per_thread_pool() -> cp->parent()->add_to_trash (cp).
"parent()" in this case the trash-can the butler emptied.
Diffstat (limited to 'tools/luadevel')
0 files changed, 0 insertions, 0 deletions