diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-11-16 21:55:57 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-11-16 21:55:57 -0500 |
commit | d2cba4d7ac11de98883968a22c16d9030d5a75dd (patch) | |
tree | d9d3f7d5e3f3e50134584a21e9726f49c9b96647 /libs/pbd/stateful.cc | |
parent | e1dc2d46042af61ae045eb49568e9284453c9e12 (diff) |
fix inadvertently commit error related to at-process-exit deletion for thread private variable
Diffstat (limited to 'libs/pbd/stateful.cc')
-rw-r--r-- | libs/pbd/stateful.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/pbd/stateful.cc b/libs/pbd/stateful.cc index 92314e1e53..ac36a69127 100644 --- a/libs/pbd/stateful.cc +++ b/libs/pbd/stateful.cc @@ -44,9 +44,9 @@ namespace PBD { int Stateful::current_state_version = 0; int Stateful::loading_state_version = 0; -static void regular_delete (void* p) { bool* bp = reinterpret_cast<bool*> (p); delete bp; std::cerr << "Deleted RSSI bool\n"; } +static void do_not_delete (void*) {} -Glib::Threads::Private<bool> Stateful::regenerate_xml_or_string_ids (regular_delete); +Glib::Threads::Private<bool> Stateful::regenerate_xml_or_string_ids (do_not_delete); Stateful::Stateful () : _extra_xml (0) |