comparison src/library/library.cc @ 410:eb554255ea5f default tip

*: no crash
author Paper <paper@tflc.us>
date Thu, 02 Apr 2026 01:09:09 -0400
parents 8d06825d96d1
children
comparison
equal deleted inserted replaced
409:8d06825d96d1 410:eb554255ea5f
20 UpdateWatchers(); 20 UpdateWatchers();
21 */ 21 */
22 /* Also, this would be completely useless as the paths in 22 /* Also, this would be completely useless as the paths in
23 * the config are not filled until after main() is 23 * the config are not filled until after main() is
24 * called. */ 24 * called. */
25 }
26
27 Database::~Database()
28 {
29 /* Wait */
30 if (refresh_thread_.joinable())
31 refresh_thread_.join();
25 } 32 }
26 33
27 void Database::UpdateWatchers() 34 void Database::UpdateWatchers()
28 { 35 {
29 /* TODO also need to remove unused watchers */ 36 /* TODO also need to remove unused watchers */