Sink pool cleanup and organization; better future support when we add more sinks
This commit is contained in:
@@ -188,8 +188,7 @@ func deleteServer(c *gin.Context) {
|
||||
// as well.
|
||||
s.CtxCancel()
|
||||
s.Events().Destroy()
|
||||
s.LogSink().Destroy()
|
||||
s.InstallSink().Destroy()
|
||||
s.DestroyAllSinks()
|
||||
s.Websockets().CancelAll()
|
||||
|
||||
// Remove any pending remote file downloads for the server.
|
||||
|
||||
Reference in New Issue
Block a user