bankd: Don't consume 100% CPU in main thread

Change-Id: I4586a4c00fcdd4540f84caa005d2f116a63aa59c
laforge/bankd-fsm-mistake
Harald Welte 5 years ago
parent 12534e776d
commit 7f684a0021
  1. 1
      src/bankd_main.c

@ -92,6 +92,7 @@ int main(int argc, char **argv)
while (1) {
if (terminate)
break;
sleep(1);
}
talloc_free(bankd);

Loading…
Cancel
Save