actually schedule the search cleanup code to run

This commit is contained in:
Arceliar 2020-02-08 20:33:35 -06:00
parent 8e05c6c6a7
commit 657777881b

View File

@ -170,6 +170,7 @@ func (sinfo *searchInfo) startSearch() {
time.AfterFunc(search_RETRY_TIME-elapsed, cleanupFunc) 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. // Calls create search, and initializes the iterative search parts of the struct before returning it.