Commit 50c254e6 authored by Vladimir Ermakov's avatar Vladimir Ermakov
Browse files

Merge pull request #527 from kartikmohta/patch-1

MAVConnSerial: Stop io_service before closing serial device (Fixes #130)
parents 7b742cfd 29af3a3c
......@@ -72,8 +72,8 @@ void MAVConnSerial::close() {
if (!is_open())
return;
serial_dev.close();
io_service.stop();
serial_dev.close();
// clear tx queue
for (auto &p : tx_q)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment