Skip to content

Commit e871638

Browse files
committed
Merge remote-tracking branch 'origin/4.11'
2 parents 143fe53 + 1904a70 commit e871638

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

agent/src/main/java/com/cloud/agent/Agent.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,7 @@ public void start() {
303303

304304
public void stop(final String reason, final String detail) {
305305
s_logger.info("Stopping the agent: Reason = " + reason + (detail != null ? ": Detail = " + detail : ""));
306+
_reconnectAllowed = false;
306307
if (_connection != null) {
307308
final ShutdownCommand cmd = new ShutdownCommand(reason, detail);
308309
try {

0 commit comments

Comments
 (0)