From fb745cc5a882cd4e3a49ff1f565cb69a65575993 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 19 Aug 2017 01:05:18 +0200 Subject: Lua may call C++ functions with throw. Catch them --- libs/ardour/session_state.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/ardour/session_state.cc') 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); } } -- cgit v1.2.3