Skip to content

Commit 6704f55

Browse files
authored
fix: delete in cli (#320)
1 parent e85be5f commit 6704f55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roborock/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ async def command(ctx, cmd, device_id, params):
137137
device_info = DeviceData(device=device, model=model)
138138
mqtt_client = RoborockMqttClientV1(login_data.user_data, device_info)
139139
await mqtt_client.send_command(cmd, json.loads(params) if params is not None else None)
140-
mqtt_client.__del__()
140+
await mqtt_client.async_release()
141141

142142

143143
@click.command()

0 commit comments

Comments
 (0)