diff options
author | Robin Gareus <robin@gareus.org> | 2017-08-19 01:05:18 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-08-19 01:06:44 +0200 |
commit | fb745cc5a882cd4e3a49ff1f565cb69a65575993 (patch) | |
tree | 90dfcfeffabe50c4bdbf889bf0249a901b8b9b93 /libs/ardour/session_state.cc | |
parent | 2a9bf034bb21eb684c75711c97f6f730397140ee (diff) |
Lua may call C++ functions with throw. Catch them
Diffstat (limited to 'libs/ardour/session_state.cc')
-rw-r--r-- | libs/ardour/session_state.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc index 205781b00c..0a1eb2ace6 100644 --- a/libs/ardour/session_state.cc +++ b/libs/ardour/session_state.cc @@ -1683,7 +1683,7 @@ Session::set_state (const XMLNode& node, int version) (*_lua_load)(std::string ((const char*)buf, size)); } catch (luabridge::LuaException const& e) { cerr << "LuaException:" << e.what () << endl; - } + } catch (...) { } g_free (buf); } } |