From edfe5ec2cd2a337fbb82e38900d9ba3b89f7208e Mon Sep 17 00:00:00 2001 From: Philip Chimento Date: Thu, 25 Jan 2018 22:41:02 -0800 Subject: [PATCH] object: Restore resolve return value This got overlooked when we switched from throwing an exception on touching a finalized object, to logging a warning. Returning true from the resolve hook means the resolved pointer must be set. --- gi/object.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/gi/object.cpp b/gi/object.cpp index a0fc16a97..c8b5a8619 100644 --- a/gi/object.cpp +++ b/gi/object.cpp @@ -766,6 +766,7 @@ object_instance_resolve(JSContext *context, priv->gobj); gjs_dumpstack(); + *resolved = false; return true; } -- GitLab