Skip to content

Commit 07010cd

Browse files
committed
Close qmgr handle
1 parent dd9fe35 commit 07010cd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mqmetric/mqif.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ func InitConnection(qMgrName string, replyQ string, cc *ConnectionConfig) error
100100
resolvedQMgrName = strings.TrimSpace(string(charAttrs[0:48]))
101101
platform = intAttrs[0]
102102
}
103+
// Don't need the qMgrObject any more
104+
qMgrObject.Close(0)
103105

104106
}
105107
}

0 commit comments

Comments
 (0)