Procházet zdrojové kódy

fix deadlock when more than 1 plugin is installed

Signed-off-by: Victor Vieux <vieux@docker.com>
Victor Vieux před 9 roky
rodič
revize
42360d164b
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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()
 }
 }