mirror of
https://github.com/thorvg/thorvg.git
synced 2025-07-27 08:36:59 +00:00
renderer: ++exception handling
issue: https://github.com/thorvg/thorvg/issues/3630
This commit is contained in:
parent
7fc8e616da
commit
f6415b9c4d
1 changed files with 1 additions and 1 deletions
|
@ -343,7 +343,7 @@ struct SceneImpl : Scene
|
||||||
{
|
{
|
||||||
if (effects) {
|
if (effects) {
|
||||||
ARRAY_FOREACH(p, *effects) {
|
ARRAY_FOREACH(p, *effects) {
|
||||||
impl.renderer->dispose(*p);
|
if (impl.renderer) impl.renderer->dispose(*p);
|
||||||
delete(*p);
|
delete(*p);
|
||||||
}
|
}
|
||||||
delete(effects);
|
delete(effects);
|
||||||
|
|
Loading…
Add table
Reference in a new issue