We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5158b2f + adab9dd commit 7a15f50Copy full SHA for 7a15f50
1 file changed
framework/src/main/java/org/tron/common/application/ApplicationImpl.java
@@ -42,21 +42,21 @@ public class ApplicationImpl implements Application {
42
public void startup() {
43
this.startServices();
44
eventService.init();
45
+ consensusService.start();
46
if ((!Args.getInstance().isSolidityNode()) && (!Args.getInstance().isP2pDisable())) {
47
tronNetService.start();
48
}
- consensusService.start();
49
MetricsUtil.init();
50
51
52
@Override
53
public void shutdown() {
54
this.shutdownServices();
55
eventService.close();
56
- consensusService.stop();
57
if (!Args.getInstance().isSolidityNode() && (!Args.getInstance().p2pDisable)) {
58
tronNetService.close();
59
+ consensusService.stop();
60
dbManager.close();
61
shutdown.countDown();
62
0 commit comments