From c090fc3ea098a2eede580b1986989b59c4efd054 Mon Sep 17 00:00:00 2001 From: xiongguangjie Date: Fri, 7 Apr 2023 23:34:41 +0800 Subject: [PATCH] test_rtp avoid crash when exit --- tests/test_rtp.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_rtp.cpp b/tests/test_rtp.cpp index 8205b4f6..d68785df 100644 --- a/tests/test_rtp.cpp +++ b/tests/test_rtp.cpp @@ -117,6 +117,7 @@ int main(int argc,char *argv[]) { sem.post(); }); sem.wait(); + sleep(1); } else ErrorL << "parameter error.";