Merge pull request #633 from OpenSkywalking/fix/potential-unable-startup

Make sure don't miss the provider(module)
This commit is contained in:
彭勇升 Buddha 2017-12-01 17:12:17 +08:00 committed by GitHub
commit 07f82578c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -103,10 +103,12 @@ public class BootstrapFlow {
if (isAllRequiredModuleStarted) {
startupSequence.add(provider);
allProviders.remove(i);
i--;
}
} else {
startupSequence.add(provider);
allProviders.remove(i);
i--;
}
}