test_rtp avoid crash when exit

This commit is contained in:
xiongguangjie 2023-04-07 23:34:41 +08:00
parent 749ef33965
commit c090fc3ea0

View File

@ -117,6 +117,7 @@ int main(int argc,char *argv[]) {
sem.post(); sem.post();
}); });
sem.wait(); sem.wait();
sleep(1);
} }
else else
ErrorL << "parameter error."; ErrorL << "parameter error.";