Revert "Add a global state localeguard (and one for route templates)"
This reverts commit 2b7a047e92
.
This commit is contained in:
parent
6d343ba3c6
commit
a6e4494482
@ -2704,7 +2704,6 @@ Route::get_template()
|
||||
XMLNode&
|
||||
Route::state(bool full_state)
|
||||
{
|
||||
LocaleGuard lg;
|
||||
if (!_session._template_state_dir.empty()) {
|
||||
assert (!full_state); // only for templates
|
||||
foreach_processor (sigc::bind (sigc::mem_fun (*this, &Route::set_plugin_state_dir), _session._template_state_dir));
|
||||
|
@ -1037,7 +1037,6 @@ Session::get_template()
|
||||
XMLNode&
|
||||
Session::state (bool full_state)
|
||||
{
|
||||
LocaleGuard lg ();
|
||||
XMLNode* node = new XMLNode("Session");
|
||||
XMLNode* child;
|
||||
|
||||
@ -1299,7 +1298,6 @@ Session::get_control_protocol_state ()
|
||||
int
|
||||
Session::set_state (const XMLNode& node, int version)
|
||||
{
|
||||
LocaleGuard lg ();
|
||||
XMLNodeList nlist;
|
||||
XMLNode* child;
|
||||
XMLProperty const * prop;
|
||||
|
Loading…
Reference in New Issue
Block a user