feature: consume all packets and free all sessions before exit
This commit is contained in:
@@ -140,10 +140,10 @@ int main(int argc, char *argv[])
|
||||
::testing::InitGoogleTest(&argc, argv);
|
||||
struct stellar *st = stellar_new("./conf/stellar.toml", "./plugin/spec.toml", "./conf/log.toml");
|
||||
stellar_run(st);
|
||||
stellar_free(st);
|
||||
if (result_json_path != NULL)
|
||||
{
|
||||
ret = RUN_ALL_TESTS();
|
||||
}
|
||||
stellar_free(st);
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user