gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet-scheme] 01/04: lost-and-found: Preserve the name of the post-GC


From: gnunet
Subject: [gnunet-scheme] 01/04: lost-and-found: Preserve the name of the post-GC hook.
Date: Sat, 19 Feb 2022 15:12:52 +0100

This is an automated email from the git hooks/post-receive script.

maxime-devos pushed a commit to branch master
in repository gnunet-scheme.

commit 9650ee8b83b7868dd37c8eceb0a3ed2e515f6aba
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Sat Feb 19 10:24:01 2022 +0000

    lost-and-found: Preserve the name of the post-GC hook.
    
    Previously, ‘after-gc-hook’ printed to
    
      #<hook 0 7f941a38b600 ? pump-epoll-guardian>
    
    now it prints to the more descriptive
    
      #<hook 0 7f4bafa9e600 collect-lost pump-epoll-guardian>.
    
    * gnu/gnunet/concurrency/lost-and-found.scm (after-gc-hook):
      Don't wrap ‘collect-lost’ in another thunk.
---
 gnu/gnunet/concurrency/lost-and-found.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/gnunet/concurrency/lost-and-found.scm 
b/gnu/gnunet/concurrency/lost-and-found.scm
index 050bd4a..7465e7d 100644
--- a/gnu/gnunet/concurrency/lost-and-found.scm
+++ b/gnu/gnunet/concurrency/lost-and-found.scm
@@ -236,4 +236,4 @@ wakeups where the empty list is returned are possible."
        ;; "unreachable + gc -> moved into lost and found"
        (collect-lost)))
 
-    (add-hook! after-gc-hook (lambda () (collect-lost)))))
+    (add-hook! after-gc-hook collect-lost)))

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]