PT #159690556: Dispose boot app handle if failed to connect to VM
descriptor
This commit is contained in:
@@ -66,6 +66,7 @@ public class LocalSpringBootApp extends AbstractSpringBootApp {
|
||||
address = vm.startLocalManagementAgent();
|
||||
} catch (IOException e) {
|
||||
logger.error("Error starting local management agent", e);
|
||||
dispose();
|
||||
}
|
||||
}
|
||||
return address;
|
||||
|
||||
Reference in New Issue
Block a user