diff options
author | Robin Gareus <robin@gareus.org> | 2016-05-07 17:16:59 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-05-07 17:16:59 +0200 |
commit | e59ab55831f6daed1eb7a299120787182b9416b7 (patch) | |
tree | 4d71d62decdae9f0d6669e2cd5ed4c694a910c93 /libs/ardour/session_state.cc | |
parent | 2066afe28c9708b8739918f82d26a732684ea4a3 (diff) |
a few strategic LocaleGuards..
..to prevent switching forth and back during individual
::state(), ::set_state() when loading/saving the session or locating.
Diffstat (limited to 'libs/ardour/session_state.cc')
-rw-r--r-- | libs/ardour/session_state.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc index 764ce16f26..05cf89ff0a 100644 --- a/libs/ardour/session_state.cc +++ b/libs/ardour/session_state.cc @@ -1037,6 +1037,7 @@ Session::get_template() XMLNode& Session::state (bool full_state) { + LocaleGuard lg; XMLNode* node = new XMLNode("Session"); XMLNode* child; @@ -1298,6 +1299,7 @@ Session::get_control_protocol_state () int Session::set_state (const XMLNode& node, int version) { + LocaleGuard lg; XMLNodeList nlist; XMLNode* child; XMLProperty const * prop; |