Skip to content

Commit

Permalink
Close qmgr handle
Browse files Browse the repository at this point in the history
  • Loading branch information
ibmmqmet committed Nov 20, 2018
1 parent dd9fe35 commit 07010cd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mqmetric/mqif.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ func InitConnection(qMgrName string, replyQ string, cc *ConnectionConfig) error
resolvedQMgrName = strings.TrimSpace(string(charAttrs[0:48]))
platform = intAttrs[0]
}
// Don't need the qMgrObject any more
qMgrObject.Close(0)

}
}
Expand Down

0 comments on commit 07010cd

Please sign in to comment.