Stop device threads on daemon termination

reverse-scroll
nirenjan 2021-07-26 10:12:23 -07:00
parent e0d15961e0
commit 52232b1a14
1 changed files with 3 additions and 0 deletions

View File

@ -192,6 +192,9 @@ int main(int argc, char **argv)
}
}
// Stop device threads
x52d_clock_exit();
x52d_dev_exit();
PINELOG_INFO(_("Shutting down X52 daemon"));
return 0;