Skip to content

Fix the bug in the keep_send function that causes it to be called onl…#6

Open
konglingchun wants to merge 1 commit intohelight:masterfrom
konglingchun:keep_send
Open

Fix the bug in the keep_send function that causes it to be called onl…#6
konglingchun wants to merge 1 commit intohelight:masterfrom
konglingchun:keep_send

Conversation

@konglingchun
Copy link

定时器工作机制:
g_timeout_add 函数设置的定时器默认是一次性定时器,除非回调函数返回 G_SOURCE_CONTINUE 或者 TRUE,否则只会执行一次。
修改keep_send函数的类型,默认返回:G_SOURCE_CONTINUE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments