Skip to content

Commit c008b63

Browse files
committed
also remove the fifo from disk
1 parent ef64eb2 commit c008b63

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

messaging/msgq.cc

+1
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ int msgq_new_queue(msgq_queue_t * q, const char * path, size_t size){
122122
void msgq_close_queue(msgq_queue_t *q){
123123
if (q->read_fifo >= 0){
124124
close(q->read_fifo);
125+
remove(q->read_fifo_path.c_str());
125126
}
126127

127128
for (uint64_t i = 0; i < NUM_READERS; i++){

0 commit comments

Comments
 (0)