This commit is contained in:
Jeff Becker 2018-12-02 21:17:36 -05:00
parent afdbed427a
commit 0bfe9a5fee
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05
1 changed files with 3 additions and 1 deletions

View File

@ -170,7 +170,9 @@ main(int argc, char *argv[])
#ifndef _WIN32
signal(SIGHUP, handle_signal);
#endif
code = llarp_main_run(ctx);
code = llarp_main_setup(ctx);
if(code == 0)
code = llarp_main_run(ctx);
llarp_main_free(ctx);
}
#ifdef _WIN32