Skip to content

Commit

Permalink
Pahoで、ForceDisconnectメソッドが削除されたため、それに合わせて修正。
Browse files Browse the repository at this point in the history
  • Loading branch information
takanorig committed Aug 1, 2015
1 parent b32dea4 commit 66e01e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mqtt-bench.go
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ func AsyncDisconnect(clients []*MQTT.Client) {

// Brokerとの接続を切断する。
func Disconnect(client *MQTT.Client) {
client.ForceDisconnect()
client.Disconnect(10)
}

func main() {
Expand Down

0 comments on commit 66e01e4

Please sign in to comment.