ソースを参照

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)
 		}(p)
-		group.Wait()
 	}
 	}
+	group.Wait()
 	return pm.save()
 	return pm.save()
 }
 }