mirror of
https://github.com/thorvg/thorvg.git
synced 2025-07-25 23:59:12 +00:00
sw_engine mempool: changed caching policy.
for smart usage, clear memory only when engine is terminated.
This commit is contained in:
parent
3ab1194773
commit
410fa6c115
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ bool SwRenderer::clear()
|
|||
for (auto task : tasks) task->get();
|
||||
tasks.clear();
|
||||
|
||||
return mpoolClear();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue