diff options
author | Robin Gareus <robin@gareus.org> | 2017-08-19 01:05:08 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-08-19 01:06:44 +0200 |
commit | 2cc32456ab5bfce4f21d10b28e40f44293c987aa (patch) | |
tree | 25597747939d244f51e3a296e3cf7799936b4ff2 /gtk2_ardour/processor_box.cc | |
parent | fb745cc5a882cd4e3a49ff1f565cb69a65575993 (diff) |
Lua may call C++ functions with throw. Catch them
Diffstat (limited to 'gtk2_ardour/processor_box.cc')
-rw-r--r-- | gtk2_ardour/processor_box.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/processor_box.cc b/gtk2_ardour/processor_box.cc index a25ac0de40..543a0e2399 100644 --- a/gtk2_ardour/processor_box.cc +++ b/gtk2_ardour/processor_box.cc @@ -1686,7 +1686,7 @@ ProcessorEntry::LuaPluginDisplay::render_inline (cairo_t *cr, uint32_t width) #ifndef NDEBUG cerr << "LuaException:" << e.what () << endl; #endif - } + } catch (...) { } return 0; } |