diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-08-15 15:33:39 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-08-16 00:03:41 +0200 |
commit | 2eca85031d0190f164ce2ae4dc13ee6b3b097989 (patch) | |
tree | 83d81a4b57e41873189741a5dcd64bbe1d9072a7 /compat/options.cpp | |
parent | 6eea58b542d59e08b4630535b0dbe78d37e6c705 (diff) |
compat/options: qDebug() in singleton dtor
This singleton is used around the codebase so make its lifetime clear to the
developer.
Diffstat (limited to 'compat/options.cpp')
-rw-r--r-- | compat/options.cpp | 5 |
1 files changed, 5 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); |