Skip to content

Update list_queue_dequeue function #525

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Havana3351
Copy link

修复了无法正常销毁队列的bug。
在list_queue_destroy函数中用到了list_queue_dequeue函数,但是原代码中,此时list_queue_dequeue还未定义、实现,所以会产生报错。我这里的解决方法是将list_queue_dequeue提前到list_queue_destroy之前实现。还有一种解决方法是在list_queue_destroy之前声明list_queue_dequeue。

在list_queue_destroy函数中用到了list_queue_dequeue函数,但是原代码中,此时list_queue_dequeue还未定义、实现,所以会产生报错。我这里的解决方法是将list_queue_dequeue提前到list_queue_destroy之前实现。还有一种解决方法是在list_queue_destroy之前声明list_queue_dequeue。
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant