[gjs: 4/15] arg-cache: Update comment




commit 6afbfd9d840e86970edc877771268e1ef70ff4f4
Author: Philip Chimento <philip chimento gmail com>
Date:   Sun Jan 9 17:44:09 2022 -0800

    arg-cache: Update comment
    
    I forgot to update this comment in the recently merged commit supporting
    GI_SCOPE_TYPE_FOREVER.

 gi/arg-cache.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gi/arg-cache.cpp b/gi/arg-cache.cpp
index 2fda580c5..573c5cb1a 100644
--- a/gi/arg-cache.cpp
+++ b/gi/arg-cache.cpp
@@ -873,7 +873,7 @@ bool CallbackIn::in(JSContext* cx, GjsFunctionCallState* state, GIArgument* arg,
 
     if (trampoline && m_scope == GI_SCOPE_TYPE_ASYNC) {
         // Add an extra reference that will be cleared when garbage collecting
-        // async calls or never for notified callbacks without destroy
+        // async calls
         g_closure_ref(trampoline);
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]