[gjs/wip/ptomato/785657: 3/6] closure: Debug message on invalidate signal
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs/wip/ptomato/785657: 3/6] closure: Debug message on invalidate signal
- Date: Wed, 23 Aug 2017 00:00:39 +0000 (UTC)
commit f8863b4eb480461d88b4326e8577037e1f29beb5
Author: Philip Chimento <philip endlessm com>
Date: Tue Aug 22 12:08:26 2017 -0700
closure: Debug message on invalidate signal
We log a closure debug message in the other case where a closure is
invalidated, so we should do it here as well.
gi/closure.cpp | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gi/closure.cpp b/gi/closure.cpp
index 8fd76ab..2528b13 100644
--- a/gi/closure.cpp
+++ b/gi/closure.cpp
@@ -166,6 +166,9 @@ closure_set_invalid(gpointer data,
{
Closure *self = &((GjsClosure*) closure)->priv;
+ gjs_debug_closure("Invalidating signal closure %p which calls object %p",
+ closure, self->obj.get());
+
self->obj.reset();
self->context = nullptr;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]