Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

Commit 07e480e

Browse files
authored
Fix cluster_manager stop working (double master status occur) (#532)
1 parent ec77032 commit 07e480e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/common/amqp_client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ var rpcServer = function(bus, conn, id, methods, on_ready, on_failure) {
155155
}, on_failure);
156156

157157
handler.close = function() {
158-
request_q && request_q.destroy();
158+
request_q && request_q.destroy({ifUnused : true});
159159
request_q = undefined;
160160
exc && exc.destroy(true);
161161
exc = undefined;

0 commit comments

Comments
 (0)