fix send on closed channel for logging; closes #3895
This commit is contained in:
@@ -147,7 +147,7 @@ func (h *Handler) listenForServerEvents(ctx context.Context) error {
|
||||
}
|
||||
|
||||
h.server.Events().Off(eventChan, e...)
|
||||
h.server.InstallSink().Off(logOutput)
|
||||
h.server.LogSink().Off(logOutput)
|
||||
h.server.InstallSink().Off(installOutput)
|
||||
close(eventChan)
|
||||
close(logOutput)
|
||||
|
||||
Reference in New Issue
Block a user