diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mm-port-serial.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mm-port-serial.c b/src/mm-port-serial.c index e41beefa..859acb78 100644 --- a/src/mm-port-serial.c +++ b/src/mm-port-serial.c @@ -1378,8 +1378,7 @@ mm_port_serial_close (MMPortSerial *self) MM_SERIAL_ERROR, MM_SERIAL_ERROR_SEND_FAILED, "Serial port is now closed"); - g_simple_async_result_complete (ctx->result); - command_context_complete_and_free (ctx, FALSE); + command_context_complete_and_free (ctx, TRUE); } g_queue_clear (self->priv->queue); |