Commit 726fa391 by Ryan Baxter

Merge remote-tracking branch 'origin/master' into 2.0.x

parents e2a19ce0 d0009ba0
...@@ -122,8 +122,9 @@ public class EurekaAutoServiceRegistration implements AutoServiceRegistration, S ...@@ -122,8 +122,9 @@ public class EurekaAutoServiceRegistration implements AutoServiceRegistration, S
@EventListener(ContextClosedEvent.class) @EventListener(ContextClosedEvent.class)
public void onApplicationEvent(ContextClosedEvent event) { public void onApplicationEvent(ContextClosedEvent event) {
// register in case meta data changed if( event.getApplicationContext() == context ) {
stop(); stop();
}
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment