瀏覽代碼

fix deadlock when more than 1 plugin is installed

Signed-off-by: Victor Vieux <vieux@docker.com>
Victor Vieux 9 年之前
父節點
當前提交
42360d164b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      plugin/manager.go

+ 1 - 1
plugin/manager.go

@@ -326,8 +326,8 @@ func (pm *Manager) init() error {
 				}
 			}
 		}(p)
-		group.Wait()
 	}
+	group.Wait()
 	return pm.save()
 }