Skip to content

Commit

Permalink
Polish apache#4265 : [Feature] Dubbo Cloud Native - Add Bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
mercyblitz committed Jun 6, 2019
1 parent 0dcd960 commit 7c0eb3d
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import org.apache.dubbo.config.AbstractConfig;
import org.apache.dubbo.config.AbstractInterfaceConfig;
import org.apache.dubbo.config.ApplicationConfig;
import org.apache.dubbo.config.DubboShutdownHook;
import org.apache.dubbo.config.ProtocolConfig;
import org.apache.dubbo.config.ReferenceConfig;
import org.apache.dubbo.config.RegistryConfig;
Expand Down Expand Up @@ -452,9 +451,9 @@ public void onEvent(ServiceDiscoveryStoppedEvent event) {
}).addEventListener(new EventListener<DubboServiceDestroyedEvent>() {
@Override
public void onEvent(DubboServiceDestroyedEvent event) {
release();
stop();
if (logger.isInfoEnabled()) {
logger.info(NAME + " has been shutdown.");
logger.info(NAME + " has been destroyed.");
}
}
});
Expand Down Expand Up @@ -610,7 +609,6 @@ private void destroy() {

destroyReferenceConfigs();

DubboShutdownHook.getDubboShutdownHook().doDestroy();
}

private void destroyProtocolConfigs() {
Expand Down

0 comments on commit 7c0eb3d

Please sign in to comment.