Sfoglia il codice sorgente

comment out release_self_fds

cuu 2 anni fa
parent
commit
15e7d79b9b
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      main.go

+ 2 - 0
main.go

@@ -260,6 +260,7 @@ func PreparationInAdv() {
 }
 
 func release_self_fds() {
+	/*
 	fds_flags := []string{"pipe", "socket:", ".ttf"}
 	file_paths, err := filepath.Glob("/proc/self/fd/*")
 	if err != nil {
@@ -288,6 +289,7 @@ func release_self_fds() {
 			}
 		}
 	}
+	*/
 }
 
 func run() int {