Browse Source

fix deadlock when more than 1 plugin is installed

Signed-off-by: Victor Vieux <vieux@docker.com>
Victor Vieux 9 years ago
parent
commit
42360d164b
1 changed files with 1 additions and 1 deletions
  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()
 }