summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--compat/options.cpp5
-rw-r--r--compat/options.hpp1
2 files changed, 6 insertions, 0 deletions
diff --git a/compat/options.cpp b/compat/options.cpp
index db2e5ce5..32471870 100644
--- a/compat/options.cpp
+++ b/compat/options.cpp
@@ -233,6 +233,11 @@ opt_singleton::opt_singleton() : implsgl_mtx(QMutex::Recursive)
{
}
+opt_singleton::~opt_singleton()
+{
+ qDebug() << "exit: bundle singleton";
+}
+
pbundle opt_singleton::bundle(const opt_singleton::k &key)
{
QMutexLocker l(&implsgl_mtx);
diff --git a/compat/options.hpp b/compat/options.hpp
index 454cc99a..07696b3c 100644
--- a/compat/options.hpp
+++ b/compat/options.hpp
@@ -142,6 +142,7 @@ namespace options {
void after_profile_changed_();
public:
opt_singleton();
+ ~opt_singleton();
pbundle bundle(const k& key);
void bundle_decf(const k& key);
static void refresh_all_bundles();