diff --git a/messaging/msgq.cc b/messaging/msgq.cc index 89be689854b156..023b3b07fbe183 100644 --- a/messaging/msgq.cc +++ b/messaging/msgq.cc @@ -122,6 +122,7 @@ int msgq_new_queue(msgq_queue_t * q, const char * path, size_t size){ void msgq_close_queue(msgq_queue_t *q){ if (q->read_fifo >= 0){ close(q->read_fifo); + remove(q->read_fifo_path.c_str()); } for (uint64_t i = 0; i < NUM_READERS; i++){