fix send on closed channel for logging; closes #3895
This commit is contained in:
parent
c27e06bcb9
commit
a6b77a31dc
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user