Skip to content

Commit 5a5dc56

Browse files
lgritzssh4net
authored andcommitted
fix: enhanced exception safety for our use of OpenColorIO (AcademySoftwareFoundation#5114)
https://opencolorio.readthedocs.io/en/latest/api/exceptions.html "All functions in the Config class can potentially throw this exception." Oh dear, that is not something I previously fully understood the implications of. This patch makes extra sure that there's try/catch around every call to OCIO::Config methods. Some previously did, but some that were less obvious that they might throw did not try/catch. No matter how benign they look, I'm taking no chances now. Signed-off-by: Larry Gritz <lg@larrygritz.com> Signed-off-by: Vlad (Kuzmin) Erium <libalias@gmail.com>
1 parent c2c481f commit 5a5dc56

1 file changed

Lines changed: 348 additions & 222 deletions

File tree

0 commit comments

Comments
 (0)