diff options
author | Murray Cumming <murrayc@murrayc.com> | 2015-11-28 13:32:29 +0100 |
---|---|---|
committer | Murray Cumming <murrayc@murrayc.com> | 2015-11-28 13:32:31 +0100 |
commit | cc3e499b41cd66fd84a387c0612d2a5cd1d59277 (patch) | |
tree | 2e8f0ec8ceb633d260d08b408cf1d9548907c213 | |
parent | 48f07f6fdca5511546afc4bc5917616e1fa1886a (diff) | |
download | glibmm-cc3e499b41cd66fd84a387c0612d2a5cd1d59277.tar.gz |
Dispatcher: Actually delete thread_specific_instance_.
As suggested by Kjell here:
https://bugzilla.gnome.org/show_bug.cgi?id=757674#c17
-rw-r--r-- | glib/glibmm/dispatcher.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/glibmm/dispatcher.cc b/glib/glibmm/dispatcher.cc index 31372702..9452245c 100644 --- a/glib/glibmm/dispatcher.cc +++ b/glib/glibmm/dispatcher.cc @@ -319,7 +319,7 @@ void DispatchNotifier::unreference_instance( { g_return_if_fail(instance->ref_count_ == 0); // could be < 0 if messed up - // This causes deletion of the notifier object. + delete thread_specific_instance_; thread_specific_instance_ = nullptr; } } |