mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-27 04:35:34 +08:00
Fix crash caused by multi threads during program termination
This commit is contained in:
@@ -48,6 +48,12 @@ target("ringbuffer")
|
||||
set_kind("headeronly")
|
||||
add_includedirs("src/ringbuffer", {public = true})
|
||||
|
||||
target("thread")
|
||||
set_kind("static")
|
||||
add_deps("log")
|
||||
add_files("src/thread/*.cpp")
|
||||
add_includedirs("src/thread", {public = true})
|
||||
|
||||
target("frame")
|
||||
set_kind("static")
|
||||
add_files("src/frame/*.cpp")
|
||||
@@ -55,7 +61,7 @@ target("frame")
|
||||
|
||||
target("rtp")
|
||||
set_kind("static")
|
||||
add_deps("log", "frame", "ringbuffer")
|
||||
add_deps("log", "frame", "ringbuffer", "thread")
|
||||
add_files("src/rtp/*.cpp")
|
||||
add_includedirs("src/rtp", {public = true})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user