This commit is contained in:
Maxim Devaev
2024-03-05 13:49:18 +02:00
parent 55b6a3e933
commit b5784149b2

View File

@@ -142,7 +142,7 @@ int main(int argc, char *argv[]) {
if (unix_follow != NULL) { if (unix_follow != NULL) {
US_THREAD_CREATE(follower_tid, _follower_thread, unix_follow); US_THREAD_CREATE(follower_tid, _follower_thread, unix_follow);
} }
_main_loop(unix_follow); _main_loop();
if (unix_follow != NULL) { if (unix_follow != NULL) {
US_THREAD_JOIN(follower_tid); US_THREAD_JOIN(follower_tid);
} }