This repository has been archived by the owner on Mar 5, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Defer semantics are hard. I missed that when you call `s.indexReference.Replace(nil).Close()`, the `Close()` is deferred, but not the `Replace()`. This resulted in immediately nilling the index upon starting up the http server, which causes the server to panic.
- Loading branch information