virt-handler: Remove duplicate socket close
Its done already in the defer function,
and isnt needed to be done twice in case the server was closed.
@@ -156,8 +156,6 @@ func RunServer(virtShareDir string, stopChan chan struct{}, c chan watch.Event,
case <-stopChan:
log.Log.Info("stopping notify server")
grpcServer.Stop()
- sock.Close()
- os.Remove(sockFile)
}
return nil
