浏览代码

add select in for loop ,appinstaller

cuu 2 年之前
父节点
当前提交
1427c8857d
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      appinstaller/appinstaller.go

+ 2 - 1
appinstaller/appinstaller.go

@@ -94,7 +94,8 @@ func main() {
 	defer rpcc.Close()
 	
 	for {
-
+		select{
+		}
 	}
 }