mirror of
https://github.com/lkmio/lkm.git
synced 2025-09-30 13:02:09 +08:00
feat: 添加 ExecuteSyncEvent 方法用于同步执行事件
This commit is contained in:
@@ -328,7 +328,7 @@ func LoopEvent(source Source) {
|
||||
}
|
||||
|
||||
var ok bool
|
||||
source.PostEvent(func() {
|
||||
source.ExecuteSyncEvent(func() {
|
||||
source.ProbeTimeout()
|
||||
ok = len(source.OriginTracks()) > 0
|
||||
})
|
||||
|
Reference in New Issue
Block a user