Skip to content
This repository has been archived by the owner on Apr 13, 2024. It is now read-only.

Commit

Permalink
also remove the fifo from disk
Browse files Browse the repository at this point in the history
  • Loading branch information
pd0wm committed Nov 15, 2019
1 parent ef64eb2 commit c008b63
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions messaging/msgq.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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++){
Expand Down

0 comments on commit c008b63

Please sign in to comment.