From 657777881be5d8db66b8db61acd0d256ef1c312a Mon Sep 17 00:00:00 2001 From: Arceliar Date: Sat, 8 Feb 2020 20:33:35 -0600 Subject: [PATCH] actually schedule the search cleanup code to run --- src/yggdrasil/search.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/yggdrasil/search.go b/src/yggdrasil/search.go index bf8c781..584a056 100644 --- a/src/yggdrasil/search.go +++ b/src/yggdrasil/search.go @@ -170,6 +170,7 @@ func (sinfo *searchInfo) startSearch() { time.AfterFunc(search_RETRY_TIME-elapsed, cleanupFunc) }) } + time.AfterFunc(search_RETRY_TIME, cleanupFunc) } // Calls create search, and initializes the iterative search parts of the struct before returning it.